aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 17:30:28 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-01 17:30:28 +0100
commit3f1fc9cde33aac1fedd3ed9110f0d3e31308e92a (patch)
tree789c65808ce8342d606b249e298294719ef39447 /tmux.h
parent8110c7a25f257b13f92f34559efedba204e6ea98 (diff)
downloadrtmux-3f1fc9cde33aac1fedd3ed9110f0d3e31308e92a.tar.gz
rtmux-3f1fc9cde33aac1fedd3ed9110f0d3e31308e92a.tar.bz2
rtmux-3f1fc9cde33aac1fedd3ed9110f0d3e31308e92a.zip
Get the whole overlay screen not just the mode so cursor changes are included.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 726fdb26..15a8506f 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1509,7 +1509,7 @@ RB_HEAD(client_files, client_file);
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int);
typedef void (*prompt_free_cb)(void *);
typedef int (*overlay_check_cb)(struct client *, u_int, u_int);
-typedef int (*overlay_mode_cb)(struct client *, u_int *, u_int *);
+typedef struct screen *(*overlay_mode_cb)(struct client *, u_int *, u_int *);
typedef void (*overlay_draw_cb)(struct client *, struct screen_redraw_ctx *);
typedef int (*overlay_key_cb)(struct client *, struct key_event *);
typedef void (*overlay_free_cb)(struct client *);