Sync OpenBSD patchset 1018:

Don't print double spaces in list output.
This commit is contained in:
Tiago Cunha 2012-01-31 12:02:24 +00:00
parent 2ee0d851d9
commit 896c55291f

View File

@ -87,14 +87,14 @@ cmd_list_windows_session(
template = "#{window_index}: " template = "#{window_index}: "
"#{window_name} " "#{window_name} "
"[#{window_width}x#{window_height}] " "[#{window_width}x#{window_height}] "
"[layout #{window_layout}] #{window_id} " "[layout #{window_layout}] #{window_id}"
"#{?window_active, (active),}"; "#{?window_active, (active),}";
break; break;
case 1: case 1:
template = "#{session_name}:#{window_index}: " template = "#{session_name}:#{window_index}: "
"#{window_name} " "#{window_name} "
"[#{window_width}x#{window_height}] " "[#{window_width}x#{window_height}] "
"[layout #{window_layout}] #{window_id} " "[layout #{window_layout}] #{window_id}"
"#{?window_active, (active),}"; "#{?window_active, (active),}";
break; break;
} }