Add a format for the name of the pane's mode, lets it be used as a

conditional for key bindings.
This commit is contained in:
nicm
2017-05-07 22:27:57 +00:00
parent d52f579fd5
commit 5fee4638e0
6 changed files with 21 additions and 8 deletions

View File

@ -105,6 +105,8 @@ static void window_copy_move_mouse(struct mouse_event *);
static void window_copy_drag_update(struct client *, struct mouse_event *);
const struct window_mode window_copy_mode = {
.name = "copy-mode",
.init = window_copy_init,
.free = window_copy_free,
.resize = window_copy_resize,