Add public API to get the state for focus in/out reporting
Bug #1852009 reported by
Martin Hostettler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvterm |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Currently the status of focus in/out reporting in only available internally in libvterm to suppress reporting in vterm_state_
It would be useful to be able to query this state for libvtermdriver (a program to do automated testing for terminal interaction).
To post a comment you must log in.
I've implemented this in 2 variants now. I was not sure if this should be exposed as a simple getter `vterm_ state_focus_ reporting_ enabled` or via a VTermProp. So i implemented both.
See attached patches.