aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-28 09:39:44 +0000
committernicm <nicm>2020-03-28 09:39:44 +0000
commit4346098e977d8fb3bde0783e9858f3def7bc01a5 (patch)
treeb5164226ed816a4a1870a06ea09c6f597d22771f /tmux.h
parente0b17e796b52bfad7d867bc876a9826bf5761be4 (diff)
downloadrtmux-4346098e977d8fb3bde0783e9858f3def7bc01a5.tar.gz
rtmux-4346098e977d8fb3bde0783e9858f3def7bc01a5.tar.bz2
rtmux-4346098e977d8fb3bde0783e9858f3def7bc01a5.zip
Fix how popup height is calculated to take embedded newlines into account.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index f885287b..bcec0a23 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2763,6 +2763,7 @@ int menu_display(struct menu *, int, struct cmdq_item *, u_int,
#define POPUP_CLOSEEXIT 0x2
u_int popup_width(struct cmdq_item *, u_int, const char **,
struct client *, struct cmd_find_state *);
+u_int popup_height(u_int, const char **);
int popup_display(int, struct cmdq_item *, u_int, u_int, u_int,
u_int, u_int, const char **, const char *, const char *,
const char *, struct client *, struct cmd_find_state *);