summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-08-13 12:57:15 +0900
committeraycabta <aycabta@gmail.com>2021-08-14 22:13:31 +0900
commitacce754eb8fb3a4a7d2546043da5538ccb7d90b5 (patch)
tree6db1977231a10b897b2ada09b88ccee3589e6201
parent1868b9fa852e94d5d44736297dfce5c670ab42f6 (diff)
[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
-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 3880f51551..09bd95662a 100644
--- a/lib/reline/ansi.rb
+++ b/lib/reline/ansi.rb
@@ -295,8 +295,6 @@ class Reline::ANSI
def self.prep
retrieve_keybuffer
- int_handle = Signal.trap('INT', 'IGNORE')
- Signal.trap('INT', int_handle)
nil
end