Skip to content

Commit

Permalink
[Truffle] IO#raw! mode should not echo.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Nov 26, 2016
1 parent 8d00f83 commit f739f77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ruby/truffle/truffle/io/console.rb
Expand Up @@ -57,14 +57,14 @@ def stty(*args)

def raw(*)
saved = stty('-g')
stty('raw')
stty('raw -echo')
yield self
ensure
stty(saved)
end

def raw!(*)
stty('raw')
stty('raw -echo')
end

def cooked(*)
Expand Down

0 comments on commit f739f77

Please sign in to comment.