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:
Jan Edmund Lazo 2019-04-10 20:31:17 -04:00
parent 21b108fe44
commit de2e86a698

View File

@ -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
}
}
/*