From 95c61c8d827959b30c12b1a5fe32df95cab81cbd Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 20 Dec 2021 18:46:08 +0900 Subject: [PATCH] [ruby/reline] Remove unnecessary clearing signal handler https://github.com/ruby/reline/commit/7a758e73dc --- lib/reline/ansi.rb | 2 -- 1 file changed, 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