mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Fix how popup height is calculated to take embedded newlines into account.
This commit is contained in:
1
tmux.h
1
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 *);
|
||||
|
Reference in New Issue
Block a user