mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-07 08:21:02 -04:00
url-mode: urls_collect(): URL list pointer as an argument
This commit is contained in:
parent
2c10a147ea
commit
a988138492
4 changed files with 61 additions and 55 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue