osmith submitted this change.
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(-)
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 change 33458. To unsubscribe, or for help writing mail filters, visit settings.