jtdaugherty / vty

A high-level ncurses alternative written in Haskell
BSD 3-Clause "New" or "Revised" License
319 stars 57 forks source link

Support FocusIn/FocusOut #264

Closed glguy closed 1 year ago

glguy commented 1 year ago

I've started using FocusIn/FocusOut events in another of my terminal clients and was thinking it'd be pretty handy to use this in my VTY application.

I haven't figured out how to detect if the terminal supports this event, yet.

jtdaugherty commented 1 year ago

Awesome. There is also this - have you tried that out? It looks like it uses the same sequences that you posted above.

glguy commented 1 year ago

Look like I just don't know what vty can do! Thanks for the pointer.

jtdaugherty commented 1 year ago

I haven’t used that mode very much at all, so I’d love to hear if it works in your application!