url-mode: urls_collect(): URL list pointer as an argument

This commit is contained in:
Daniel Eklöf 2021-02-06 20:01:52 +01:00
parent 2c10a147ea
commit a988138492
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 61 additions and 55 deletions

View file

@ -234,6 +234,7 @@ struct url {
struct coord end;
enum url_action action;
};
typedef tll(struct url) url_list_t;
struct terminal {
struct fdm *fdm;
@ -513,7 +514,7 @@ struct terminal {
unsigned max_height; /* Maximum image height, in pixels */
} sixel;
tll(struct url) urls;
url_list_t urls;
wchar_t url_keys[5];
#if defined(FOOT_IME_ENABLED) && FOOT_IME_ENABLED