mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add cmdq as an argument to format_create and add a format for the
command name (will also be used for more later).
This commit is contained in:
@ -105,7 +105,7 @@ cmd_list_windows_session(
|
||||
|
||||
n = 0;
|
||||
RB_FOREACH(wl, winlinks, &s->windows) {
|
||||
ft = format_create(0);
|
||||
ft = format_create(cmdq, 0);
|
||||
format_add(ft, "line", "%u", n);
|
||||
format_defaults(ft, NULL, s, wl, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user