aboutgitcodelistschat:MatrixIRC
path: root/web/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'web/common.sh')
-rw-r--r--web/common.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/common.sh b/web/common.sh
index b815dd4..c269fe1 100644
--- a/web/common.sh
+++ b/web/common.sh
@@ -79,6 +79,11 @@ clear_panes() {
sleep 1
}
+get_first_pane() {
+ pane=$(tmux list-panes | awk 'NR==1{ print $1 }' | sed 's/://')
+ echo $pane
+}
+
teardown_common() {
sleep 5
tmux kill-session -t $SESSION