diff options
author | nicm <nicm> | 2020-05-16 16:13:09 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 16:13:09 +0000 |
commit | 72984c48347ddfd1d435f8a9ffcdf334c4b28389 (patch) | |
tree | fe9ecbdecdebbd1d1605879b33f88297a21e34ee /tmux.h | |
parent | ff8dd150e0c59b37d9a4942e499a2a025820db8d (diff) | |
download | rtmux-72984c48347ddfd1d435f8a9ffcdf334c4b28389.tar.gz rtmux-72984c48347ddfd1d435f8a9ffcdf334c4b28389.tar.bz2 rtmux-72984c48347ddfd1d435f8a9ffcdf334c4b28389.zip |
Move editor stuff to common code in popup.c.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2869,6 +2869,7 @@ int menu_display(struct menu *, int, struct cmdq_item *, u_int, #define POPUP_CLOSEEXIT 0x2 #define POPUP_CLOSEEXITZERO 0x4 typedef void (*popup_close_cb)(int, void *); +typedef void (*popup_finish_edit_cb)(char *, size_t, void *); 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 **); @@ -2876,6 +2877,8 @@ 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 *, popup_close_cb, void *); +int popup_editor(struct client *, const char *, size_t, + popup_finish_edit_cb, void *); /* style.c */ int style_parse(struct style *,const struct grid_cell *, |