diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-23 06:30:15 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-04-23 06:30:15 +0100 |
commit | 106e5d07beaacaa977372f8b6a0bcac5f981545b (patch) | |
tree | b62febbdd1133da0c682fc0a4df325156a810373 /window-buffer.c | |
parent | 63f2034f290637a512297445ed03d7f4e8c90dd2 (diff) | |
download | rtmux-106e5d07beaacaa977372f8b6a0bcac5f981545b.tar.gz rtmux-106e5d07beaacaa977372f8b6a0bcac5f981545b.tar.bz2 rtmux-106e5d07beaacaa977372f8b6a0bcac5f981545b.zip |
Tweak the default choose modes formats:
- Only show pane title if it is not default and not empty.
- Add a prettier time format and use that instead of long ctime().
- Remove clutter and change the order.
Diffstat (limited to 'window-buffer.c')
-rw-r--r-- | window-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/window-buffer.c b/window-buffer.c index 80092fbd..cf707abe 100644 --- a/window-buffer.c +++ b/window-buffer.c @@ -36,7 +36,7 @@ static void window_buffer_key(struct window_mode_entry *, #define WINDOW_BUFFER_DEFAULT_COMMAND "paste-buffer -b '%%'" #define WINDOW_BUFFER_DEFAULT_FORMAT \ - "#{buffer_size} bytes (#{t:buffer_created})" + "#{t/p:buffer_created}: #{buffer_sample}" static const struct menu_item window_buffer_menu_items[] = { { "Paste", 'p', NULL }, |