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

@ -34,6 +34,8 @@ static void window_clock_timer_callback(int, short, void *);
static void window_clock_draw_screen(struct window_pane *);
const struct window_mode window_clock_mode = {
.name = "clock-mode",
.init = window_clock_init,
.free = window_clock_free,
.resize = window_clock_resize,