Provide local-echo option.

Can be switched on with -e on the command line.
Can be toggled with Ctrl t e while program is running.
This commit is contained in:
Henner Zeller 2018-06-23 12:24:41 -07:00
parent 08fd18e803
commit dabd2130a9
6 changed files with 38 additions and 1 deletions

View file

@ -33,6 +33,10 @@ _tio()
COMPREPLY=( $(compgen -W "5 6 7 8" -- ${cur}) )
return 0
;;
-h | --local-echo)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
-f | --flow)
COMPREPLY=( $(compgen -W "hard soft none" -- ${cur}) )
return 0