Add hidecursorinactive option to indicate status when terminal loses focus (#965)

* Enable focus events through configuration by using focus (option) and on-ui-enter/on-ui-exit events.

* Revert doc

This reverts commit 77f113639f.

* Revert rune evt

This reverts commit 77f113639f.

* hidecursorinactive with tcell

* cleanup

* cleanup
This commit is contained in:
Christian Zangl authored and GitHub committed 2023-12-26 15:37:11 +01:00
1 parent 2a4adb323f
commit 075caac3a9
8 files changed
+818 -997

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ func run() {
if gOpts.mouse {
screen.EnableMouse()
}
screen.EnableFocus()
if gLogPath != "" {
f, err := os.OpenFile(gLogPath, os.O_RDWR|os.O_CREATE|os.O_TRUNC, 0600)