2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-11-02 04:12:32 +00:00

Move the console title to right place

This commit is contained in:
Jarrod Johnson
2017-03-28 11:26:55 -04:00
parent 2ac5da13ef
commit cefefa7d1b

View File

@@ -9,11 +9,11 @@ for i in `nodels "$1"`; do
continue
fi
tmux select-pane -t $p
tmux set-option pane-border-status top > /dev/null 2>&1 | cat > /dev/null
p=$((p+1))
qdate=$((`date +%s`+5))
tmux split -h "rcons $i;if [ \`date +%s\` -lt $qdate ]; then echo Press enter to close; read qdate; fi"
tmux select-layout tiled
done
tmux select-pane -t 0
tmux set-option pane-border-status top > /dev/null 2>&1 | cat > /dev/null
tmux attach -t tcons_$$