Detect iTerm2 and enable DECSLRM.

This commit is contained in:
nicm
2020-01-12 22:00:20 +00:00
parent 193e637de0
commit 381333c4a9
2 changed files with 58 additions and 1 deletions

2
tty.c
View File

@ -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;