Make two -E only close popup automatically if the command exited with 0.

This commit is contained in:
nicm
2020-03-28 09:51:12 +00:00
parent 4346098e97
commit 593fddf84b
3 changed files with 10 additions and 1 deletions

1
tmux.h
View File

@ -2761,6 +2761,7 @@ int menu_display(struct menu *, int, struct cmdq_item *, u_int,
/* popup.c */
#define POPUP_WRITEKEYS 0x1
#define POPUP_CLOSEEXIT 0x2
#define POPUP_CLOSEEXITZERO 0x4
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 **);