summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-09-14 20:37:57 +0200
committerBram Moolenaar <Bram@vim.org>2017-09-14 20:37:57 +0200
commit69fbc9e1dab176f345719436cd89d854df0a2abd (patch)
treecb082b52c6e0e9a2bd99db92b83aa7269d90cdaa /src/gui.c
parent38baa3e63427112d389de5e5942243414d9b1336 (diff)
downloadvim-git-69fbc9e1dab176f345719436cd89d854df0a2abd.tar.gz
patch 8.0.1108: cannot specify mappings for the terminal windowv8.0.1108
Problem: Cannot specify mappings for the terminal window. Solution: Add the :tmap command and associated code. (Jacob Askeland, closes #2073)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui.c b/src/gui.c
index 97fac5043..f714d7ac6 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