show error
This commit is contained in:
parent
31443519e8
commit
3be0140d64
1 changed files with 2 additions and 1 deletions
3
bin/rpl
3
bin/rpl
|
@ -11,8 +11,9 @@ class RplRepl
|
||||||
def initialize( interpreter: Rpl.new )
|
def initialize( interpreter: Rpl.new )
|
||||||
begin
|
begin
|
||||||
@stty_save = `stty -g`.chomp
|
@stty_save = `stty -g`.chomp
|
||||||
rescue Error
|
rescue Error => e
|
||||||
puts "Couldn't get terminal characteristics"
|
puts "Couldn't get terminal characteristics"
|
||||||
|
pp e
|
||||||
end
|
end
|
||||||
|
|
||||||
@interpreter = interpreter
|
@interpreter = interpreter
|
||||||
|
|
Loading…
Reference in a new issue