Skip to content

Commit

Permalink
Fix panic on Mac from crossterm::event::poll
Browse files Browse the repository at this point in the history
Copied ver batim from sigoden/aichat#264.
  • Loading branch information
texastoland committed Mar 8, 2024
1 parent 942bb80 commit 1cfe9bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ nu-protocol = { version = "0.91.0", features = ["plugin"] }
ratatui = "0.26.1"
url = "2.4.0"

[target.'cfg(target_os = "macos")'.dependencies]
crossterm = { version = "0.27.0", features = ["use-dev-tty"] }

[lib]
bench = false

Expand Down

0 comments on commit 1cfe9bf

Please sign in to comment.