mirror of
https://github.com/tmux/tmux.git
synced 2026-10-15 07:44:24 +00:00
Do not set zero bits and add features.
This commit is contained in:
@@ -1407,7 +1407,8 @@ screen_write_sync_redraw_cb(const struct tty_ctx *ttyctx, u_int py, u_int ny)
|
||||
{
|
||||
struct window_pane *wp = ttyctx->arg;
|
||||
|
||||
bit_nset(wp->sync_dirty, py, py + ny - 1);
|
||||
if (ny != 0)
|
||||
bit_nset(wp->sync_dirty, py, py + ny - 1);
|
||||
}
|
||||
|
||||
/* Send the deferred scroll to the client. */
|
||||
|
||||
@@ -668,6 +668,7 @@ tty_default_features(struct client *c, const char *name, u_int version)
|
||||
"cstyle,"
|
||||
"extkeys,"
|
||||
"focus,"
|
||||
"imagescroll,"
|
||||
"margins,"
|
||||
"overline,"
|
||||
"hyperlinks,"
|
||||
@@ -684,6 +685,7 @@ tty_default_features(struct client *c, const char *name, u_int version)
|
||||
"extkeys,"
|
||||
"focus,"
|
||||
"hyperlinks,"
|
||||
"imagescroll,"
|
||||
"osc7,"
|
||||
"sync,"
|
||||
"usstyle,"
|
||||
|
||||
Reference in New Issue
Block a user