You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2021/11/02 00:23:34 UTC

[airflow] branch main updated: Enable mouse mode by default in start_airflow tmux session (#19325)

This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 4299751  Enable mouse mode by default in start_airflow tmux session (#19325)
4299751 is described below

commit 42997514cb8cc40b16520ea2269f719c98ababac
Author: Niko <65...@users.noreply.github.com>
AuthorDate: Mon Nov 1 17:22:51 2021 -0700

    Enable mouse mode by default in start_airflow tmux session (#19325)
---
 scripts/in_container/bin/run_tmux | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/scripts/in_container/bin/run_tmux b/scripts/in_container/bin/run_tmux
index 7efe863..f405b6d 100755
--- a/scripts/in_container/bin/run_tmux
+++ b/scripts/in_container/bin/run_tmux
@@ -39,6 +39,11 @@ export TMUX_SESSION="Airflow"
 # Start New Session with our name
 tmux new-session -d -s "${TMUX_SESSION}"
 
+# Enable mouse interaction with tmux. This allows selecting between the panes
+# by clicking with the mouse and also allows scrolling back through terminal
+# output with the mouse wheel.
+tmux set mouse on
+
 # Name first Pane and start bash
 tmux rename-window -t 0 'Main'
 tmux send-keys -t 'Main' 'bash' C-m 'clear' C-m