diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-03-18 14:10:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-03-18 14:10:26 +0000 |
commit | 76d0585d4b33bffd19f8206994ad99ed02556a7a (patch) | |
tree | b2ff6218ad4d2814f6970898627db24569d508d2 /usr.bin/tmux/window-buffer.c | |
parent | c15ee69529c66bff0aa19474c2230e89cb2b4573 (diff) |
Add format variables for the default formats for the various modes
(tree_mode_format and so on) and add a -a flag to display-message to
list variables with values.
Diffstat (limited to 'usr.bin/tmux/window-buffer.c')
-rw-r--r-- | usr.bin/tmux/window-buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/window-buffer.c b/usr.bin/tmux/window-buffer.c index f4a90e16b78..de81cdda141 100644 --- a/usr.bin/tmux/window-buffer.c +++ b/usr.bin/tmux/window-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-buffer.c,v 1.16 2019/03/12 20:02:47 nicm Exp $ */ +/* $OpenBSD: window-buffer.c,v 1.17 2019/03/18 14:10:25 nicm Exp $ */ /* * Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -41,6 +41,7 @@ static void window_buffer_key(struct window_mode_entry *, const struct window_mode window_buffer_mode = { .name = "buffer-mode", + .default_format = WINDOW_BUFFER_DEFAULT_FORMAT, .init = window_buffer_init, .free = window_buffer_free, |