Merge branch 'master' into floating_panes

This commit is contained in:
Michael Grant
2026-03-04 13:16:52 +00:00
43 changed files with 980 additions and 437 deletions

View File

@@ -2510,14 +2510,14 @@ screen_write_overwrite(struct screen_write_ctx *ctx, struct grid_cell *gc,
/* Set external clipboard. */
void
screen_write_setselection(struct screen_write_ctx *ctx, const char *flags,
screen_write_setselection(struct screen_write_ctx *ctx, const char *clip,
u_char *str, u_int len)
{
struct tty_ctx ttyctx;
screen_write_initctx(ctx, &ttyctx, 0);
ttyctx.ptr = str;
ttyctx.ptr2 = (void *)flags;
ttyctx.ptr2 = (void *)clip;
ttyctx.num = len;
tty_write(tty_cmd_setselection, &ttyctx);