diff options
Diffstat (limited to 'lib/reline/line_editor.rb')
-rw-r--r-- | lib/reline/line_editor.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index fcd348b9f6..fc48cd011f 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -217,9 +217,9 @@ class Reline::LineEditor end def finalize - Signal.trap('SIGINT', @old_trap) + Signal.trap('INT', @old_trap) begin - Signal.trap('SIGTSTP', @old_tstp_trap) + Signal.trap('TSTP', @old_tstp_trap) rescue ArgumentError end end |