mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Fix pane splitting with large numbers of nodes
The tcons logic to select layout each iteration is now replicated, to avoid too-small panes.
This commit is contained in:
parent
6588ac0990
commit
18713797b9
@ -65,7 +65,7 @@ if options.tile:
|
||||
['tmux', 'split', '-h',
|
||||
'{0} -m 5 start /nodes/{1}/console/session'.format(
|
||||
confettypath, node)])
|
||||
subprocess.call(['tmux', 'select-layout', 'tiled'])
|
||||
subprocess.call(['tmux', 'select-layout', 'tiled'])
|
||||
subprocess.call(['tmux', 'select-pane', '-t', '0'])
|
||||
os.execlp('tmux', 'tmux', 'attach', '-t', 'nodeconsole_{0}'.format(
|
||||
os.getpid()))
|
||||
|
Loading…
Reference in New Issue
Block a user