diff options
| author | K4 <k4@noreply.codeberg.org> | 2026-08-25 12:03:58 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2026-09-02 07:18:21 +0000 |
| commit | de649b6137ec1c5f7f684ef44e48d9a881a2744f (patch) | |
| tree | 83a070b7471270bbce49bf2b77444fc770035591 /terminal.h | |
| parent | changelog: selection-override-modifiers fixes (diff) | |
term: wrap url related fields into a struct
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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; |
