osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-dev/+/33458 )
Change subject: net/templates/run: fix prompts not working ......................................................................
net/templates/run: fix prompts not working
Reset the terminal after tmux new-window and after killing programs during shutdown. Otherwise with tmux 3.2a the input prompts do not work.
Change-Id: I7f14c364637f82699a5b935637222d5da977d67d --- M net/templates/run.sh 1 file changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/58/33458/1
diff --git a/net/templates/run.sh b/net/templates/run.sh index 6b8a324..1954cfb 100755 --- a/net/templates/run.sh +++ b/net/templates/run.sh @@ -141,6 +141,7 @@ case "$terminal" in tmux) tmux new-window -d -n "$title" "$launcher &; echo $! > $pidfile_term; wait" + stty sane ;; *) sleep .2