Sync OpenBSD patchset 1070:

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:
Tiago Cunha
2012-03-18 02:25:26 +00:00
parent 0f9f30de2e
commit df31f1dfc9
3 changed files with 44 additions and 5 deletions

3
tmux.h
View File

@ -1468,8 +1468,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 *);