Add option --no-tty-restore / -N that makes execution flow omit call to tty_restore().

This commit is contained in:
Erling Sigurdson 2025-11-08 04:21:25 +03:00
parent 3af4c5591e
commit 4eaf19493b
9 changed files with 33 additions and 3 deletions

View file

@ -123,6 +123,14 @@ Do not reconnect.
This means that tio will exit if it fails to connect to device or an
established connection is lost.
.TP
.BR \-n ", " \-\-no\-tty\-restore
Do not restore initial TTY device settings.
This means that tio will exit without trying to restore TTY device
settings that existed when tio was started.
.TP
.BR \-e ", " "\-\-local\-echo