diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-06 19:01:52 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:34 +0000 |
| commit | a988138492ba39d507f644bbb0b6d452a864ca79 (patch) | |
| tree | 6ef09b4e1260fe7cc6573a18a33b709e9147b1b2 /url-mode.h | |
| parent | url-mode: underline URLs using the color from colors.urls (diff) | |
url-mode: urls_collect(): URL list pointer as an argument
Diffstat (limited to 'url-mode.h')
| -rw-r--r-- | url-mode.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -11,8 +11,11 @@ static inline bool urls_mode_is_active(const struct terminal *term) return tll_length(term->urls) > 0; } -void urls_collect(struct terminal *term, enum url_action action); -void urls_tag_cells(struct terminal *term); +void urls_collect( + const struct terminal *term, enum url_action action, url_list_t *urls); +void urls_assign_key_combos(url_list_t *urls); + +void urls_render(struct terminal *term); void urls_reset(struct terminal *term); void urls_input(struct seat *seat, struct terminal *term, uint32_t key, |
