mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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.
This commit is contained in:
@@ -1354,7 +1354,14 @@ main_loop(
|
||||
do_exmode(exmode_active == EXMODE_VIM);
|
||||
}
|
||||
else
|
||||
{
|
||||
#ifdef FEAT_TERMINAL
|
||||
if (curbuf->b_term != NULL && oa.op_type == OP_NOP
|
||||
&& oa.regname == NUL)
|
||||
terminal_loop();
|
||||
#endif
|
||||
normal_cmd(&oa, TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user