Skip to content

Commit

Permalink
Fix dancing-ruby Ctrl+C stop
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng committed Oct 21, 2023
1 parent e26e90e commit fada641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/irb/easter-egg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def render_frame(i)
end
end
when :dancing
begin
STDOUT.cooked do
canvas = Canvas.new(Reline.get_screen_size)
Reline::IOGate.set_winch_handler do
canvas = Canvas.new(Reline.get_screen_size)
Expand Down

0 comments on commit fada641

Please sign in to comment.