crossterm-rs / crossterm

Cross platform terminal library rust
MIT License
3.29k stars 280 forks source link

docs: update docs for focus change event (#784) #864

Closed illiteratewriter closed 5 months ago

illiteratewriter commented 9 months ago

I was also thinking of adding the following lines to the example in the docs:

execute!(
        stdout,
        EnableBracketedPaste,
        EnableFocusChange,
        EnableMouseCapture,
    )?;

so that there is better clarity in the example. Let me know if this sounds like a good addition.

joshka commented 6 months ago

I was also thinking of adding the following lines to the example in the docs:

Yes - this would be a good idea. Don't forget the corresponding disable though.