Skip to content

Commit

Permalink
Merge pull request #35 from jkthorne/master
Browse files Browse the repository at this point in the history
update for current crystal version
  • Loading branch information
docelic authored Nov 12, 2024
2 parents 3b28968 + 6a09da4 commit f5e55f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ dependencies:
development_dependencies:
ameba:
github: crystal-ameba/ameba
version: ~> 0.13.0
version: ~> 1.6.3
2 changes: 1 addition & 1 deletion src/screen_resize.cr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module Crysterm
# Schedules resize fiber to run at now + `@resize_interval`. Repeated invocations
# (before the interval has elapsed) have a desirable effect of re-starting the timer.
private def schedule_resize
@_resize_loop_fiber.try &.timeout(@resize_interval)
@_resize_loop_fiber.try &.timeout(@resize_interval, Channel::TimeoutAction.new(@resize_interval))
end

# Re-reads current size of all `Display`s and triggers redraw of all `Screen`s.
Expand Down

0 comments on commit f5e55f0

Please sign in to comment.