diff options
author | 2020-01-12 22:00:20 +0000 | |
---|---|---|
committer | 2020-01-12 22:00:20 +0000 | |
commit | 6110b15cac0767de19e9bf6b2c907a02f1d7616c (patch) | |
tree | 7b7c6f2f88a3b58a7b0267d09dc8a72e1f559f08 /usr.bin/tmux/tty.c | |
parent | The terminal type was never as much use as I expected so remove it in (diff) | |
download | wireguard-openbsd-6110b15cac0767de19e9bf6b2c907a02f1d7616c.tar.xz wireguard-openbsd-6110b15cac0767de19e9bf6b2c907a02f1d7616c.zip |
Detect iTerm2 and enable DECSLRM.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r-- | usr.bin/tmux/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 387627f884b..5178bd3ae4c 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.337 2020/01/12 21:07:07 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.338 2020/01/12 22:00:20 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -327,7 +327,7 @@ tty_start_tty(struct tty *tty) tty->flags |= TTY_FOCUS; tty_puts(tty, "\033[?1004h"); } - tty_puts(tty, "\033[c"); + tty_puts(tty, "\033[c\033[1337n"); } tty->flags |= TTY_STARTED; |