diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-07-28 14:01:13 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-07-28 14:01:13 +0100 |
commit | ed8ddf2449267c1f1383e4eb20219b39d91dfdc4 (patch) | |
tree | c14dd3d0506c8e1af2707a213c0c10f81ffc3d6f | |
parent | a704f5797171743558d9c6c8cbf9d8bc96cf2433 (diff) | |
parent | b4c9f6edbae30197ac2ffbc8d0c3e01d280033c1 (diff) | |
download | rtmux-ed8ddf2449267c1f1383e4eb20219b39d91dfdc4.tar.gz rtmux-ed8ddf2449267c1f1383e4eb20219b39d91dfdc4.tar.bz2 rtmux-ed8ddf2449267c1f1383e4eb20219b39d91dfdc4.zip |
Merge branch 'obsd-master'
-rw-r--r-- | window-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/window-tree.c b/window-tree.c index 57cda055..a8d7a3fe 100644 --- a/window-tree.c +++ b/window-tree.c @@ -244,7 +244,8 @@ window_tree_build_window(struct session *s, struct winlink *wl, void* modedata, item->pane = -1; text = format_single(NULL, - "#{window_name}#{window_flags} (#{window_panes} panes)", + "#{window_name}#{window_flags} (#{window_panes} panes)" + "#{?#{==:#{window_panes},1}, \"#{pane_title}\",}", NULL, s, wl, NULL); xasprintf(&name, "%u", wl->idx); |