diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-06-03 12:01:09 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-06-03 12:01:09 +0100 |
commit | e77e11ec6bad1207ab15ee0f148b6a084d9f091c (patch) | |
tree | fd887a96b8a40b9d19917a9c143cb83308da4b02 /tty.c | |
parent | 1184dc08d4c85c489126365896602d151c8080ad (diff) | |
parent | 3edda3c5e71d634efd8e1e849328a68fb9da37de (diff) | |
download | rtmux-e77e11ec6bad1207ab15ee0f148b6a084d9f091c.tar.gz rtmux-e77e11ec6bad1207ab15ee0f148b6a084d9f091c.tar.bz2 rtmux-e77e11ec6bad1207ab15ee0f148b6a084d9f091c.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -814,7 +814,7 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s) tty_puts(tty, "\033[?1006h"); if (mode & MODE_MOUSE_ALL) tty_puts(tty, "\033[?1000h\033[?1002h\033[?1003h"); - if (mode & MODE_MOUSE_BUTTON) + else if (mode & MODE_MOUSE_BUTTON) tty_puts(tty, "\033[?1000h\033[?1002h"); else if (mode & MODE_MOUSE_STANDARD) tty_puts(tty, "\033[?1000h"); |