diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-20 21:58:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-20 21:58:57 +0200 |
commit | f1883479be91550bc31dd88f593b3012863a2629 (patch) | |
tree | 6fbbbcbeef8c22a24613eba072d150bb1fb112df /src/term.c | |
parent | 3f6a16f022c437eccaeb683640b25a972cb1b376 (diff) | |
download | vim-git-f1883479be91550bc31dd88f593b3012863a2629.tar.gz |
patch 8.1.0302: crash when using :suspend and "fg"v8.1.0302
Problem: Crash when using :suspend and "fg".
Solution: Undo patch 8.1.244.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/term.c b/src/term.c index 66f03ee10..97ddf8bc4 100644 --- a/src/term.c +++ b/src/term.c @@ -3834,23 +3834,16 @@ scroll_start(void) static int cursor_is_off = FALSE; /* - * Enable the cursor without checking if it's already enabled. - */ - void -cursor_on_force(void) -{ - out_str(T_VE); - cursor_is_off = FALSE; -} - -/* * Enable the cursor. */ void cursor_on(void) { if (cursor_is_off) - cursor_on_force(); + { + out_str(T_VE); + cursor_is_off = FALSE; + } } /* |