diff options
author | nicm <nicm> | 2021-10-20 09:50:40 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-10-20 09:50:40 +0000 |
commit | 8a9bfd0cddd783436e842495fc3039aa56571ed1 (patch) | |
tree | 664ad6f43dbfb7453bc43c3d300d9acfdd844f88 /window-tree.c | |
parent | f26b8c57ffb253db08072629b7c969c021580492 (diff) | |
download | rtmux-8a9bfd0cddd783436e842495fc3039aa56571ed1.tar.gz rtmux-8a9bfd0cddd783436e842495fc3039aa56571ed1.tar.bz2 rtmux-8a9bfd0cddd783436e842495fc3039aa56571ed1.zip |
Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941.
Diffstat (limited to 'window-tree.c')
-rw-r--r-- | window-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/window-tree.c b/window-tree.c index d22a2b58..b594edd9 100644 --- a/window-tree.c +++ b/window-tree.c @@ -519,7 +519,8 @@ window_tree_draw_label(struct screen_write_ctx *ctx, u_int px, u_int py, if (ox > 1 && ox + len < sx - 1 && sy >= 3) { screen_write_cursormove(ctx, px + ox - 1, py + oy - 1, 0); - screen_write_box(ctx, len + 2, 3, BOX_LINES_DEFAULT, NULL); + screen_write_box(ctx, len + 2, 3, BOX_LINES_DEFAULT, NULL, + NULL); } screen_write_cursormove(ctx, px + ox, py + oy, 0); screen_write_puts(ctx, gc, "%s", label); |