[ruby/reline] Remove unnecessary clearing signal handler
https://github.com/ruby/reline/commit/7a758e73dc
This commit is contained in:
parent
e54e99bd16
commit
95c61c8d82
@ -340,8 +340,6 @@ class Reline::ANSI
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.deprep(otio)
|
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
|
Signal.trap('WINCH', @@old_winch_handler) if @@old_winch_handler
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user