crossterm-rs / crossterm

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

fix: extra command in event-read example #894

Closed aschey closed 5 months ago

aschey commented 6 months ago

Resolves #842

PopKeyboardEnhancementFlags is already called here with the proper check:https://github.com/crossterm-rs/crossterm/blob/fce58c879a748f3159216f68833100aa16141ab0/examples/event-read.rs#L100-L102 so we don't need to call it again.