mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 17:38:53 +02:00
Sync OpenBSD patchset 1162:
Use a separate define for each default format template and strip clutter from the choose-tree defaults.
This commit is contained in:
@@ -85,12 +85,10 @@ cmd_list_windows_session(
|
||||
if (template == NULL) {
|
||||
switch (type) {
|
||||
case 0:
|
||||
template = DEFAULT_WINDOW_TEMPLATE \
|
||||
" [layout #{window_layout}] #{window_id}" \
|
||||
"#{?window_active, (active),}";
|
||||
template = LIST_WINDOWS_TEMPLATE;
|
||||
break;
|
||||
case 1:
|
||||
template = "#{session_name}:" DEFAULT_WINDOW_TEMPLATE;
|
||||
template = LIST_WINDOWS_WITH_SESSION_TEMPLATE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user