Skip to content

Commit

Permalink
Workaround on #55
Browse files Browse the repository at this point in the history
  • Loading branch information
abinoam committed Jul 16, 2015
1 parent bf04da6 commit b1b4cf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/highline/terminal/stty.rb
Expand Up @@ -13,6 +13,7 @@ def raw_no_echo_mode

def restore_mode
system "stty #{@state}"
print "\r"
end
end
end
Expand Down
1 change: 1 addition & 0 deletions lib/highline/terminal/unix_stty.rb
Expand Up @@ -33,6 +33,7 @@ def raw_no_echo_mode

def restore_mode
system "stty #{@state}"
print "\r"
end

def get_character( input = STDIN )
Expand Down

0 comments on commit b1b4cf6

Please sign in to comment.