mirror of
https://github.com/tmux/tmux.git
synced 2024-12-14 10:58:48 +00:00
Fix default values for new escape sequences.
This commit is contained in:
parent
c364a7142c
commit
dcf537519f
6
input.c
6
input.c
@ -1385,15 +1385,15 @@ input_csi_dispatch(struct input_ctx *ictx)
|
|||||||
screen_write_cursormove(sctx, m - 1, n - 1, 1);
|
screen_write_cursormove(sctx, m - 1, n - 1, 1);
|
||||||
break;
|
break;
|
||||||
case INPUT_CSI_MODSET:
|
case INPUT_CSI_MODSET:
|
||||||
n = input_get(ictx, 0, 1, 1);
|
n = input_get(ictx, 0, 0, 0);
|
||||||
m = input_get(ictx, 1, 1, 1);
|
m = input_get(ictx, 1, 0, 0);
|
||||||
if (n == 0 || (n == 4 && m == 0))
|
if (n == 0 || (n == 4 && m == 0))
|
||||||
screen_write_mode_clear(sctx, MODE_KEXTENDED);
|
screen_write_mode_clear(sctx, MODE_KEXTENDED);
|
||||||
else if (n == 4 && (m == 1 || m == 2))
|
else if (n == 4 && (m == 1 || m == 2))
|
||||||
screen_write_mode_set(sctx, MODE_KEXTENDED);
|
screen_write_mode_set(sctx, MODE_KEXTENDED);
|
||||||
break;
|
break;
|
||||||
case INPUT_CSI_MODOFF:
|
case INPUT_CSI_MODOFF:
|
||||||
n = input_get(ictx, 0, 1, 1);
|
n = input_get(ictx, 0, 0, 0);
|
||||||
if (n == 4)
|
if (n == 4)
|
||||||
screen_write_mode_clear(sctx, MODE_KEXTENDED);
|
screen_write_mode_clear(sctx, MODE_KEXTENDED);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user