diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2024-08-21 04:37:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2024-08-21 04:37:43 +0000 |
commit | 7cc28628e8b58ce4de37738a910ac716d31928ec (patch) | |
tree | 4a8e9554c86c383f3ab573a1fc1c6e12987e048a /usr.bin/tmux/input.c | |
parent | 3d86e9cfa9595eb9144b99da6d0910cfd744bc70 (diff) |
Set the default for extended-keys back to off because it appears emacs turns
the keys on but does not correctly handle them except in xterm (!). Also fix so
that off takes effect as expected.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index eb23e89c7f7..6cf28f68852 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.227 2024/08/21 04:17:09 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.228 2024/08/21 04:37:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1412,7 +1412,7 @@ input_csi_dispatch(struct input_ctx *ictx) * Set the extended key reporting mode as per the client request, * unless "extended-keys always" forces us into mode 1. */ - if (options_get_number(global_options, "extended-keys") == 2) + if (options_get_number(global_options, "extended-keys") != 1) break; screen_write_mode_clear(sctx, MODE_KEYS_EXTENDED|MODE_KEYS_EXTENDED_2); |