mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -7846,7 +7846,10 @@ n_start_visual_mode(int c)
|
||||
nv_window(cmdarg_T *cap)
|
||||
{
|
||||
#ifdef FEAT_WINDOWS
|
||||
if (!checkclearop(cap->oap))
|
||||
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 */
|
||||
#else
|
||||
(void)checkclearop(cap->oap);
|
||||
|
Reference in New Issue
Block a user