aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-06 19:01:52 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:34 +0000
commita988138492ba39d507f644bbb0b6d452a864ca79 (patch)
tree6ef09b4e1260fe7cc6573a18a33b709e9147b1b2 /terminal.h
parenturl-mode: underline URLs using the color from colors.urls (diff)
url-mode: urls_collect(): URL list pointer as an argument
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.h b/terminal.h
index bb98efc2..b0084f63 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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