show error

This commit is contained in:
Gwenhael Le Moine 2022-10-11 13:35:27 +02:00
parent 31443519e8
commit 3be0140d64
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -11,8 +11,9 @@ class RplRepl
def initialize( interpreter: Rpl.new )
begin
@stty_save = `stty -g`.chomp
rescue Error
rescue Error => e
puts "Couldn't get terminal characteristics"
pp e
end
@interpreter = interpreter