aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:09:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:09:06 +0000
commitd4ee9be4d767ff4927c9e322bdbf958841dc091d (patch)
treeab8adafe11e3bae878f38e9559b1abbf937f48a1 /config.h
parentconfig: configuration errors are no longer fatal (diff)
config: add 'hide-when-typing'
When enabled, the mouse cursor is hidden when the user types in the terminal. It is un-hidden when the user moves the mouse, or when the window loses keyboard focus.
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index e47a0549..baee177d 100644
--- a/config.h
+++ b/config.h
@@ -74,6 +74,7 @@ struct config {
struct {
enum cursor_style style;
bool blink;
+ bool hide_when_typing;
struct {
uint32_t text;
uint32_t cursor;