summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-12-20 18:46:08 +0900
committergit <svn-admin@ruby-lang.org>2021-12-21 00:13:18 +0900
commit95c61c8d827959b30c12b1a5fe32df95cab81cbd (patch)
treecc5b9cc1a599688287789e2ff299e258955cbe50
parente54e99bd163e7cffec227067d5749d0d30c52710 (diff)
downloadruby-95c61c8d827959b30c12b1a5fe32df95cab81cbd.tar.gz
[ruby/reline] Remove unnecessary clearing signal handler
https://github.com/ruby/reline/commit/7a758e73dc
-rw-r--r--lib/reline/ansi.rb2
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