diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-12-16 18:33:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-12-16 18:33:20 +0000 |
commit | 9d1184cd1d4ebbfb13859adffec09077a84fd2b2 (patch) | |
tree | 63c05b85a2a65b1ceca9f1f66127c28b239d4bb5 /src/globals.h | |
parent | 9aee8ec400fe617f6d82441c46a22d0cef6fa3e6 (diff) |
patch 9.0.1065: a shell command switching screens may still have a problemv9.0.1065
Problem: A shell command switching screens may still have a problem with
the kitty keyboard protocol.
Solution: Disable the kitty keyboard protocol both in the current and the
alternate screen, if there are indications it might be needed.
(issue #11705) Also fix naming.
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/globals.h b/src/globals.h index 009165dd8d..1090f35895 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1396,12 +1396,12 @@ typedef enum { MOKS_OFF, // Used when receiving the state and the level is two. MOKS_ENABLED, - // Used after outputting t_KE when the state was MOKS_ENABLED. We do not - // really know if t_KE actually disabled the protocol, the following t_KI + // Used after outputting t_TE when the state was MOKS_ENABLED. We do not + // really know if t_TE actually disabled the protocol, the following t_TI // is expected to request the state, but the response may come only later. MOKS_DISABLED, - // Used after outputting t_KE when the state was not MOKS_ENABLED. - MOKS_AFTER_T_KE, + // Used after outputting t_TE when the state was not MOKS_ENABLED. + MOKS_AFTER_T_TE, } mokstate_T; // Set when a response to XTQMODKEYS was received. Only works for xterm @@ -1416,12 +1416,12 @@ typedef enum { KKPS_OFF, // Used when receiving the state and the flags are non-zero. KKPS_ENABLED, - // Used after outputting t_KE when the state was KKPS_ENABLED. We do not - // really know if t_KE actually disabled the protocol, the following t_KI + // Used after outputting t_TE when the state was KKPS_ENABLED. We do not + // really know if t_TE actually disabled the protocol, the following t_TI // is expected to request the state, but the response may come only later. KKPS_DISABLED, - // Used after outputting t_KE when the state was not KKPS_ENABLED. - KKPS_AFTER_T_KE, + // Used after outputting t_TE when the state was not KKPS_ENABLED. + KKPS_AFTER_T_TE, } kkpstate_T; EXTERN kkpstate_T kitty_protocol_state INIT(= KKPS_INITIAL); |