mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.0725: a terminal window does not handle keyboard input
Problem: A terminal window does not handle keyboard input.
Solution: Add terminal_loop(). ":term bash -i" sort of works now.
938783d0ab
This commit is contained in:
parent
21b108fe44
commit
de2e86a698
@ -6526,8 +6526,12 @@ static void n_start_visual_mode(int c)
|
||||
*/
|
||||
static void nv_window(cmdarg_T *cap)
|
||||
{
|
||||
if (!checkclearop(cap->oap))
|
||||
do_window(cap->nchar, cap->count0, NUL); /* everything is in window.c */
|
||||
if (cap->nchar == ':') {
|
||||
// "CTRL-W :" is the same as typing ":"; useful in a terminal window
|
||||
nv_colon(cap);
|
||||
} else if (!checkclearop(cap->oap)) {
|
||||
do_window(cap->nchar, cap->count0, NUL); // everything is in window.c
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user