From 69fbc9e1dab176f345719436cd89d854df0a2abd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 14 Sep 2017 20:37:57 +0200 Subject: 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) --- src/gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui.c') diff --git a/src/gui.c b/src/gui.c index 97fac50432..f714d7ac6b 100644 --- a/src/gui.c +++ b/src/gui.c @@ -1101,7 +1101,7 @@ gui_update_cursor( * When in a terminal window use the shape/color specified there. */ #ifdef FEAT_TERMINAL - if (use_terminal_cursor()) + if (terminal_is_active()) shape = term_get_cursor_shape(&shape_fg, &shape_bg); else #endif -- cgit v1.2.3