diff options
author | aycabta <aycabta@gmail.com> | 2021-12-20 18:46:08 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-21 00:13:18 +0900 |
commit | 95c61c8d827959b30c12b1a5fe32df95cab81cbd (patch) | |
tree | cc5b9cc1a599688287789e2ff299e258955cbe50 | |
parent | e54e99bd163e7cffec227067d5749d0d30c52710 (diff) | |
download | ruby-95c61c8d827959b30c12b1a5fe32df95cab81cbd.tar.gz |
[ruby/reline] Remove unnecessary clearing signal handler
https://github.com/ruby/reline/commit/7a758e73dc
-rw-r--r-- | lib/reline/ansi.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 00c7651d5f..76069ceccd 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -340,8 +340,6 @@ class Reline::ANSI end def self.deprep(otio) - int_handle = Signal.trap('INT', 'IGNORE') - Signal.trap('INT', int_handle) Signal.trap('WINCH', @@old_winch_handler) if @@old_winch_handler end end |