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

--
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/33458
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I7f14c364637f82699a5b935637222d5da977d67d
Gerrit-Change-Number: 33458
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-MessageType: newchange

Reply via email to