Re-enable echo when restoring
This commit is contained in:
parent
15a764d865
commit
1e35d4a70c
|
@ -136,6 +136,10 @@ func configure() (err error) {
|
|||
|
||||
// restores the TTY to the original state
|
||||
func restore() (errs []error) {
|
||||
if _, err := stty("echo"); err != nil {
|
||||
return []error{err}
|
||||
}
|
||||
|
||||
if _, err := stty(originalState); err != nil {
|
||||
return []error{err}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue