From 3fd34e70e531314558a182b85411c21cba4eb0d1 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Feb 2017 13:23:00 +0000 Subject: Only redraw the modified character when adding combining characters, not the whole line. --- tmux.h | 1 - 1 file changed, 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index c980f9bb..068bcbbe 100644 --- a/tmux.h +++ b/tmux.h @@ -1667,7 +1667,6 @@ void tty_cmd_erasecharacter(struct tty *, const struct tty_ctx *); void tty_cmd_insertcharacter(struct tty *, const struct tty_ctx *); void tty_cmd_insertline(struct tty *, const struct tty_ctx *); void tty_cmd_linefeed(struct tty *, const struct tty_ctx *); -void tty_cmd_utf8character(struct tty *, const struct tty_ctx *); void tty_cmd_reverseindex(struct tty *, const struct tty_ctx *); void tty_cmd_setselection(struct tty *, const struct tty_ctx *); void tty_cmd_rawstring(struct tty *, const struct tty_ctx *); -- cgit From e67548dc36fdb4454aded1c95bd35e2443191f94 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Feb 2017 15:00:41 +0000 Subject: Cancel key table when switching session, unless the key is going to repeat. Reported by Amos Bird. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 068bcbbe..01503ecb 100644 --- a/tmux.h +++ b/tmux.h @@ -1226,6 +1226,7 @@ struct cmdq_item { struct cmd_list *cmdlist; struct cmd *cmd; + int repeat; cmdq_cb cb; void *data; -- cgit From 10e14ae504df467234284a1040e91d48b41b2dd0 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Feb 2017 19:26:49 +0000 Subject: Add BCE for clear to start of screen, which was somehow missed. --- tmux.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 01503ecb..4009a44f 100644 --- a/tmux.h +++ b/tmux.h @@ -1992,7 +1992,7 @@ void screen_write_scrollregion(struct screen_write_ctx *, u_int, u_int); void screen_write_linefeed(struct screen_write_ctx *, int); void screen_write_carriagereturn(struct screen_write_ctx *); void screen_write_clearendofscreen(struct screen_write_ctx *, u_int); -void screen_write_clearstartofscreen(struct screen_write_ctx *); +void screen_write_clearstartofscreen(struct screen_write_ctx *, u_int); void screen_write_clearscreen(struct screen_write_ctx *, u_int); void screen_write_clearhistory(struct screen_write_ctx *); void screen_write_cell(struct screen_write_ctx *, const struct grid_cell *); -- cgit From 68e04907de6a13933805d3437872bd859f4ce6c1 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Feb 2017 19:45:23 +0000 Subject: Do not go through the whole attributes setting process if the new cell is the same as the previous one. --- tmux.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 4009a44f..f310a37a 100644 --- a/tmux.h +++ b/tmux.h @@ -1054,6 +1054,9 @@ struct tty { struct grid_cell cell; + int last_wp; + struct grid_cell last_cell; + #define TTY_NOCURSOR 0x1 #define TTY_FREEZE 0x2 #define TTY_TIMER 0x4 -- cgit From d60e585d9e6f01c06b936f550ebf889453a8720f Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 6 Feb 2017 22:05:11 +0000 Subject: Use DECFRA on VT420 compatible terminals (so, xterm) and ED on all others for clearing panes. --- tmux.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index f310a37a..f111d857 100644 --- a/tmux.h +++ b/tmux.h @@ -240,6 +240,7 @@ enum tty_code_code { TTYC_DL1, /* delete_line, dl */ TTYC_E3, TTYC_ECH, /* erase_chars, ec */ + TTYC_ED, /* csr_eos, cd */ TTYC_EL, /* clr_eol, ce */ TTYC_EL1, /* clr_bol, cb */ TTYC_ENACS, /* ena_acs, eA */ -- cgit