mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-17 00:51:36 +02:00
Add a flag to move-window to renumber the windows in a session (closing
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
This commit is contained in:
@ -263,6 +263,9 @@ server_kill_window(struct window *w)
|
||||
} else
|
||||
server_redraw_session_group(s);
|
||||
}
|
||||
|
||||
if (options_get_number(&s->options, "renumber-windows"))
|
||||
session_renumber_windows(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user