Skip to content

Commit

Permalink
Remove SIG prefix because don't use it in any other signal processing
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Sep 6, 2021
1 parent b908fe4 commit 3764804
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/reline/line_editor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ def reset(prompt = '', encoding:)
end

def finalize
Signal.trap('SIGINT', @old_trap)
Signal.trap('INT', @old_trap)
begin
Signal.trap('SIGTSTP', @old_tstp_trap)
Signal.trap('TSTP', @old_tstp_trap)
rescue ArgumentError
end
end
Expand Down

0 comments on commit 3764804

Please sign in to comment.