diff options
author | nicm <nicm> | 2020-05-16 15:24:28 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 15:24:28 +0000 |
commit | 78595457f965975cf5a24e8bbab6dcb153020b6e (patch) | |
tree | 622695a4a91e2d3fd490d8f0b9e79aa48ae9bedc /tmux.h | |
parent | a3cbc014c386fd1f171e3139ed71c67503e1ccb3 (diff) | |
download | rtmux-78595457f965975cf5a24e8bbab6dcb153020b6e.tar.gz rtmux-78595457f965975cf5a24e8bbab6dcb153020b6e.tar.bz2 rtmux-78595457f965975cf5a24e8bbab6dcb153020b6e.zip |
Add 'e' key in buffer mode to open the buffer in an editor.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1806,6 +1806,7 @@ void paste_free(struct paste_buffer *); void paste_add(const char *, char *, size_t); int paste_rename(const char *, const char *, char **); int paste_set(char *, size_t, const char *, char **); +void paste_replace(struct paste_buffer *, char *, size_t); char *paste_make_sample(struct paste_buffer *); /* format.c */ @@ -2813,12 +2814,14 @@ int menu_display(struct menu *, int, struct cmdq_item *, u_int, #define POPUP_WRITEKEYS 0x1 #define POPUP_CLOSEEXIT 0x2 #define POPUP_CLOSEEXITZERO 0x4 +typedef void (*popup_close_cb)(int, 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 **); 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 *); + const char *, struct client *, struct cmd_find_state *, + popup_close_cb, void *); /* style.c */ int style_parse(struct style *,const struct grid_cell *, |