aboutsummaryrefslogtreecommitdiff
path: root/screen-write.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-08-02 14:01:09 +0100
committerThomas Adam <thomas@xteddy.org>2022-08-02 14:01:09 +0100
commit7b8ececd8d76131b29273d62174c70a08211acfc (patch)
tree8b5dd8c840e6baec075d55208b8b1182ea1c4ddf /screen-write.c
parent9a2fdf8fd45fd156590ac3eabc7baad866fd06df (diff)
parent42ba6c1b229c92256274e848e9c5ff1d59d9081b (diff)
downloadrtmux-7b8ececd8d76131b29273d62174c70a08211acfc.tar.gz
rtmux-7b8ececd8d76131b29273d62174c70a08211acfc.tar.bz2
rtmux-7b8ececd8d76131b29273d62174c70a08211acfc.zip
Merge branch 'obsd-master'
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c
index 213b533c..476fe4dd 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -2100,13 +2100,15 @@ screen_write_setselection(struct screen_write_ctx *ctx, const char *flags,
/* Write unmodified string. */
void
-screen_write_rawstring(struct screen_write_ctx *ctx, u_char *str, u_int len)
+screen_write_rawstring(struct screen_write_ctx *ctx, u_char *str, u_int len,
+ int allow_invisible_panes)
{
struct tty_ctx ttyctx;
screen_write_initctx(ctx, &ttyctx, 0);
ttyctx.ptr = str;
ttyctx.num = len;
+ ttyctx.allow_invisible_panes = allow_invisible_panes;
tty_write(tty_cmd_rawstring, &ttyctx);
}