diff options
author | nicm <nicm> | 2020-05-16 14:10:29 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 14:10:29 +0000 |
commit | 0dd19442061ac92b6d9b61a91e4b262c2f08921f (patch) | |
tree | d75d9d182b4bbe8df3259f2e701eaa658371fe09 /window-client.c | |
parent | aa7dccf8e12c33223717d10551567959a9f22b97 (diff) | |
download | rtmux-0dd19442061ac92b6d9b61a91e4b262c2f08921f.tar.gz rtmux-0dd19442061ac92b6d9b61a91e4b262c2f08921f.tar.bz2 rtmux-0dd19442061ac92b6d9b61a91e4b262c2f08921f.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-client.c')
-rw-r--r-- | window-client.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/window-client.c b/window-client.c index 4688cbf3..cd424dd7 100644 --- a/window-client.c +++ b/window-client.c @@ -37,8 +37,7 @@ static void window_client_key(struct window_mode_entry *, #define WINDOW_CLIENT_DEFAULT_COMMAND "detach-client -t '%%'" #define WINDOW_CLIENT_DEFAULT_FORMAT \ - "session #{session_name} " \ - "(#{client_width}x#{client_height}, #{t:client_activity})" + "#{t/p:client_activity}: session #{session_name}" static const struct menu_item window_client_menu_items[] = { { "Detach", 'd', NULL }, |