diff options
author | aycabta <aycabta@gmail.com> | 2021-09-07 02:28:33 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-09-07 02:42:42 +0900 |
commit | cec50ec8d664c39e8858de8f3a50ccbc99ce7511 (patch) | |
tree | 7658031c066845e907a8ab5db51175c9761615b7 /lib/reline | |
parent | f927614e55fd73e5af717381d84fbf0039d69b38 (diff) |
[ruby/reline] Remove SIG prefix because don't use it in any other signal processing
https://github.com/ruby/reline/commit/37648042e8
Diffstat (limited to 'lib/reline')
-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 |