summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/mode-tree.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-10-20 09:50:41 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-10-20 09:50:41 +0000
commit3c4dc15ba02eea21465274d59db7b72f0afa7a5c (patch)
tree20897aba332cefd1a0a639cb56daf1c8b1b3f36f /usr.bin/tmux/mode-tree.c
parentf3a6455befe016c27b87a003b2c2d449b4ddb170 (diff)
Add -T to set a popup title, from Alexis Hildebrandt in GitHub issue 2941.
Diffstat (limited to 'usr.bin/tmux/mode-tree.c')
-rw-r--r--usr.bin/tmux/mode-tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/mode-tree.c b/usr.bin/tmux/mode-tree.c
index 64114f1893a..5c34d5d4f33 100644
--- a/usr.bin/tmux/mode-tree.c
+++ b/usr.bin/tmux/mode-tree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mode-tree.c,v 1.57 2021/10/14 13:19:01 nicm Exp $ */
+/* $OpenBSD: mode-tree.c,v 1.58 2021/10/20 09:50:40 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -747,7 +747,7 @@ mode_tree_draw(struct mode_tree_data *mtd)
mti = mti->parent;
screen_write_cursormove(&ctx, 0, h, 0);
- screen_write_box(&ctx, w, sy - h, BOX_LINES_DEFAULT, NULL);
+ screen_write_box(&ctx, w, sy - h, BOX_LINES_DEFAULT, NULL, NULL);
if (mtd->sort_list != NULL) {
xasprintf(&text, " %s (sort: %s%s)", mti->name,