mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.0873: in terminal cannot use CTRL-\ CTRL-N to start Visual mode
Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual mode. Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command.
This commit is contained in:
@@ -1356,7 +1356,9 @@ main_loop(
|
||||
else
|
||||
{
|
||||
#ifdef FEAT_TERMINAL
|
||||
if (term_use_loop() && oa.op_type == OP_NOP && oa.regname == NUL)
|
||||
if (term_use_loop(TRUE)
|
||||
&& oa.op_type == OP_NOP && oa.regname == NUL
|
||||
&& !VIsual_active)
|
||||
{
|
||||
/* If terminal_loop() returns OK we got a key that is handled
|
||||
* in Normal model. With FAIL the terminal was closed and the
|
||||
|
Reference in New Issue
Block a user