Add a -O flag to display-menu to change the mouse behaviour and not

close the menu when the mouse is released, from teo_paul1 at yahoo dot
com.
This commit is contained in:
nicm
2020-10-30 08:55:56 +00:00
parent a868bacb46
commit 649e5970e9
5 changed files with 33 additions and 9 deletions

1
tmux.h
View File

@@ -2978,6 +2978,7 @@ __dead void printflike(1, 2) fatalx(const char *, ...);
/* menu.c */
#define MENU_NOMOUSE 0x1
#define MENU_TAB 0x2
#define MENU_STAYOPEN 0x4
struct menu *menu_create(const char *);
void menu_add_items(struct menu *, const struct menu_item *,
struct cmdq_item *, struct client *,