mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-27 06:46:44 -04:00
url-mode: multiple URL (parts) with the same ID is assigned a single key sequence
In case an URL is split up into multiple parts, those parts are now treated as a single URL when it comes to key assignment. Only the *first* URL part is actually assigned a key combo. The other parts are ignored. We still highlight them, but for all other purposes they are ignored.
This commit is contained in:
parent
ffbee5ff37
commit
fb9e9513a5
3 changed files with 37 additions and 3 deletions
|
|
@ -250,6 +250,7 @@ typedef tll(struct ptmx_buffer) ptmx_buffer_list_t;
|
|||
|
||||
enum url_action { URL_ACTION_COPY, URL_ACTION_LAUNCH };
|
||||
struct url {
|
||||
uint64_t id;
|
||||
char *url;
|
||||
wchar_t *text;
|
||||
wchar_t *key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue