ruby-changes:67150
From: aycabta <ko1@a...>
Date: Sat, 14 Aug 2021 22:13:49 +0900 (JST)
Subject: [ruby-changes:67150] acce754eb8 (master): [ruby/reline] Remove interrupt avoidance
https://git.ruby-lang.org/ruby.git/commit/?id=acce754eb8 From acce754eb8fb3a4a7d2546043da5538ccb7d90b5 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Fri, 13 Aug 2021 12:57:15 +0900 Subject: [ruby/reline] Remove interrupt avoidance There used to be a process that did not want to be interrupted by SIGINT, so it was trapped, but that process is no longer there. https://github.com/ruby/reline/commit/ba7252a5db --- lib/reline/ansi.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/reline/ansi.rb b/lib/reline/ansi.rb index 3880f51..09bd956 100644 --- a/lib/reline/ansi.rb +++ b/lib/reline/ansi.rb @@ -295,8 +295,6 @@ class Reline::ANSI https://github.com/ruby/ruby/blob/trunk/lib/reline/ansi.rb#L295 def self.prep retrieve_keybuffer - int_handle = Signal.trap('INT', 'IGNORE') - Signal.trap('INT', int_handle) nil end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/