crossterm-rs / crossterm

Cross platform terminal library rust
MIT License
3.27k stars 279 forks source link

fix: extra command in event-read example #894

Closed aschey closed 4 months ago

aschey commented 5 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.