Ensure worker panes are added in the proper order
This commit is contained in:
parent
c3bf5f6730
commit
9810c630f6
1 changed files with 2 additions and 2 deletions
|
|
@ -146,8 +146,8 @@ class TUI():
|
|||
if update_layout:
|
||||
self.layout['Workers']['height'] = height
|
||||
|
||||
# Add pane
|
||||
self.layout['Workers']['Panes'].append(tmux.split_window(**tmux_args))
|
||||
# Add pane (ensure panes are sorted top to bottom)
|
||||
self.layout['Workers']['Panes'].insert(0, tmux.split_window(**tmux_args))
|
||||
|
||||
def clear_current_pane(self) -> None:
|
||||
"""Clear screen and history for current pane."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue