diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-06-28 14:01:13 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-06-28 14:01:13 +0100 |
commit | 336beeb09afcc8f381062da49a4c23c6d16a9833 (patch) | |
tree | f8a9e6817fe5b84b52b1dd9ee4086a1099895460 /cmd-send-keys.c | |
parent | 1ca920bbebd5fb418089752aa595e4e5696e28bc (diff) | |
parent | a00b0d13ede4a0f3743606c79a38eada403f77f9 (diff) | |
download | rtmux-336beeb09afcc8f381062da49a4c23c6d16a9833.tar.gz rtmux-336beeb09afcc8f381062da49a4c23c6d16a9833.tar.bz2 rtmux-336beeb09afcc8f381062da49a4c23c6d16a9833.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-send-keys.c')
-rw-r--r-- | cmd-send-keys.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-send-keys.c b/cmd-send-keys.c index 5c6db347..8d2c2608 100644 --- a/cmd-send-keys.c +++ b/cmd-send-keys.c @@ -64,6 +64,8 @@ cmd_send_keys_inject(struct client *c, struct cmdq_item *item, key_code key) struct key_binding *bd, bd_find; if (wp->mode == NULL || wp->mode->key_table == NULL) { + if (options_get_number(wp->window->options, "xterm-keys")) + key |= KEYC_XTERM; window_pane_key(wp, NULL, s, key, NULL); return; } |