On xterm 271 and later, put the terminal into SCL 5 and use DECCRA for

scrolling the region in panes (if the large region check isn't
hit). With help from Ailin Nemui.
This commit is contained in:
Nicholas Marriott
2012-03-17 22:56:04 +00:00
parent 46210344a6
commit d8805af66b
3 changed files with 44 additions and 5 deletions

3
tmux.h
View File

@@ -1472,8 +1472,9 @@ void tty_putc(struct tty *, u_char);
void tty_pututf8(struct tty *, const struct grid_utf8 *);
void tty_init(struct tty *, int, char *);
int tty_resize(struct tty *);
int tty_set_size(struct tty *tty, u_int sx, u_int sy);
int tty_set_size(struct tty *, u_int, u_int);
void tty_start_tty(struct tty *);
void tty_set_version(struct tty *, u_int);
void tty_stop_tty(struct tty *);
void tty_set_title(struct tty *, const char *);
void tty_update_mode(struct tty *, int, struct screen *);