aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-05-21 04:18:00 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-05-21 06:37:39 +0000
commit8716ca578495d93ff6fcfa1001ca86413ecf7ba6 (patch)
tree3ea5d8d7e0fde075d18ad034ec1f8aac4ccf9625 /terminal.h
parentunicode-mode: move state from seat to term (diff)
url-mode: disable IME mode while URL-mode is active
This prevents the IME from stealing "our" key-presses, and thus preventing the user from opening URLs. Closes #1718, hopefully.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index ba634185..5033c550 100644
--- a/terminal.h
+++ b/terminal.h
@@ -714,6 +714,7 @@ struct terminal {
char32_t url_keys[5];
bool urls_show_uri_on_jump_label;
struct grid *url_grid_snapshot;
+ bool ime_reenable_after_url_mode;
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
bool ime_enabled;