crossterm-rs / crossterm

Cross platform terminal library rust
MIT License
3.28k stars 281 forks source link

Fix warnings and clippy lints #943

Closed joshka closed 1 day ago

joshka commented 1 week ago

Remove winapi feature flag checks

These checks were impossible to trigger as there is no separate feature flag for winapi and crossterm_winapi. The windows feature flag automatically enables these dependencies.

Move InternalEventFilter into tests mod

This is only used in test code, so should be defined there

Fix clippy lints for byte char slices

https://rust-lang.github.io/rust-clippy/master/index.html#byte_char_slices