Skip to content

Commit

Permalink
Re-enable echo when restoring
Browse files Browse the repository at this point in the history
  • Loading branch information
stewart committed Jul 9, 2015
1 parent 15a764d commit 1e35d4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions platforms/keyboard/keyboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
Expand Down

0 comments on commit 1e35d4a

Please sign in to comment.