diff options
author | nicm <nicm> | 2017-05-07 22:27:57 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-05-07 22:27:57 +0000 |
commit | 5fee4638e08b1642a3b8882c5cf8825dd76b3a81 (patch) | |
tree | 5f05c50a17e78893cfee68f343c63ce114fd0ddd /window-clock.c | |
parent | d52f579fd5e7fd21d7dcf837780cbf98498b10ce (diff) |
Add a format for the name of the pane's mode, lets it be used as a
conditional for key bindings.
Diffstat (limited to 'window-clock.c')
-rw-r--r-- | window-clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/window-clock.c b/window-clock.c index 94f014fc..d23ac136 100644 --- a/window-clock.c +++ b/window-clock.c @@ -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, |