aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorK4 <k4@noreply.codeberg.org>2026-08-25 12:03:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-09-02 07:18:21 +0000
commitde649b6137ec1c5f7f684ef44e48d9a881a2744f (patch)
tree83a070b7471270bbce49bf2b77444fc770035591 /terminal.h
parentchangelog: selection-override-modifiers fixes (diff)
term: wrap url related fields into a struct
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/terminal.h b/terminal.h
index 0cac1e3b..32145cac 100644
--- a/terminal.h
+++ b/terminal.h
@@ -793,13 +793,14 @@ struct terminal {
unsigned max_height; /* Maximum image height, in pixels */
} sixel;
- /* TODO: wrap in a struct */
- url_list_t urls;
- char32_t url_keys[5];
- bool urls_show_uri_on_jump_label;
- struct grid *url_grid_snapshot;
- bool ime_reenable_after_url_mode;
- const struct config_spawn_template *url_launch;
+ struct {
+ url_list_t list;
+ char32_t keys[5];
+ bool show_uri_on_jump_label;
+ struct grid *grid_snapshot;
+ bool ime_reenable_after_url_mode;
+ const struct config_spawn_template *launch;
+ } url;
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED
bool ime_enabled;