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)
diff --git a/src/main.c b/src/main.c
index 5840085..e2c04f6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1363,7 +1363,7 @@
/* 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