patch 9.0.0980: the keyboard state response may end up in a shell command v9.0.0980
authorBram Moolenaar <Bram@vim.org>
Thu, 1 Dec 2022 12:03:47 +0000 (12:03 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 1 Dec 2022 12:03:47 +0000 (12:03 +0000)
commit733a69b29f0b0c3d2ddca463a41bdd912379bc5e
tree65bc4282dda846e701691450320de90c07cf5e44
parent4f501171f7ba8fe3d24c7e5bf5fcec5b5f246df1
patch 9.0.0980: the keyboard state response may end up in a shell command

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.
12 files changed:
runtime/doc/map.txt
runtime/doc/term.txt
src/edit.c
src/ex_getln.c
src/main.c
src/normal.c
src/os_unix.c
src/proto/main.pro
src/proto/term.pro
src/term.c
src/termdefs.h
src/version.c