0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.1108: cannot specify mappings for the terminal window

Problem:    Cannot specify mappings for the terminal window.
Solution:   Add the :tmap command and associated code.  (Jacob Askeland,
            closes #2073)
This commit is contained in:
Bram Moolenaar
2017-09-14 20:37:57 +02:00
parent 38baa3e634
commit 69fbc9e1da
14 changed files with 126 additions and 36 deletions

View File

@@ -1363,7 +1363,7 @@ main_loop(
/* If terminal_loop() returns OK we got a key that is handled
* in Normal model. With FAIL we first need to position the
* cursor and the screen needs to be redrawn. */
if (terminal_loop() == OK)
if (terminal_loop(TRUE) == OK)
normal_cmd(&oa, TRUE);
}
else