=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/tmux.h,v retrieving revision 1.1038 retrieving revision 1.1039 diff -u -r1.1038 -r1.1039 --- src/usr.bin/tmux/tmux.h 2020/05/16 16:07:55 1.1038 +++ src/usr.bin/tmux/tmux.h 2020/05/16 16:13:09 1.1039 @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.1038 2020/05/16 16:07:55 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.1039 2020/05/16 16:13:09 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -2869,6 +2869,7 @@ #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 @@ 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 *,