Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'

* refs/remotes/tmux-openbsd/master:
  Do not set zero bits, and add imagescroll feature to kitty and ghostty.
This commit is contained in:
tmux update bot
2026-10-14 15:02:38 +00:00
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: screen-write.c,v 1.300 2026/10/12 18:47:52 nicm Exp $ */ /* $OpenBSD: screen-write.c,v 1.301 2026/10/14 13:36:37 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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; 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. */ /* Send the deferred scroll to the client. */

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: tty-features.c,v 1.49 2026/10/14 12:33:46 nicm Exp $ */ /* $OpenBSD: tty-features.c,v 1.50 2026/10/14 13:36:37 nicm Exp $ */
/* /*
* Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com> * Copyright (c) 2020 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -668,6 +668,7 @@ tty_default_features(struct client *c, const char *name, u_int version)
"cstyle," "cstyle,"
"extkeys," "extkeys,"
"focus," "focus,"
"imagescroll,"
"margins," "margins,"
"overline," "overline,"
"hyperlinks," "hyperlinks,"
@@ -684,6 +685,7 @@ tty_default_features(struct client *c, const char *name, u_int version)
"extkeys," "extkeys,"
"focus," "focus,"
"hyperlinks," "hyperlinks,"
"imagescroll,"
"osc7," "osc7,"
"sync," "sync,"
"usstyle," "usstyle,"