diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-01 12:03:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-01 12:03:47 +0000 |
commit | 733a69b29f0b0c3d2ddca463a41bdd912379bc5e (patch) | |
tree | 65bc4282dda846e701691450320de90c07cf5e44 /src/os_unix.c | |
parent | 4f501171f7ba8fe3d24c7e5bf5fcec5b5f246df1 (diff) |
patch 9.0.0980: the keyboard state response may end up in a shell commandv9.0.0980
Problem: The keyboard state response may end up in a shell command.
Solution: Only request the keyboard protocol state when the typeahead is
empty, no more commands are following and not exiting. Add the
t_RK termcap entry for this.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 79d7f17d98..bd75ccae14 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5379,7 +5379,7 @@ finished: if (tmode == TMODE_RAW) // possibly enables modifyOtherKeys again - out_str(T_CTI); + out_str_t_TI(); } # endif |