diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-06 23:01:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-07 15:33:34 +0000 |
| commit | ddd6f1d944100ab1eb9d01a73d19981aaf2e4332 (patch) | |
| tree | a40386182cd08f569f54bfba53a802433f9d5431 /terminal.h | |
| parent | render: urls: reduce vertical margin (diff) | |
url-mode: fix key sequence generation
* We were using the ‘back’ element of the list as prefix for the next
iteration of sequences, instead of the element at index ‘offset’
* ALEN() on a wchar_t[] includes the NULL terminator. We don’t want
that.
Diffstat (limited to 'terminal.h')
| -rw-r--r-- | terminal.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -229,7 +229,7 @@ enum url_action { URL_ACTION_COPY, URL_ACTION_LAUNCH }; struct url { wchar_t *url; wchar_t *text; - wchar_t key[4]; + wchar_t *key; struct coord start; struct coord end; enum url_action action; |
