mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: urls: uppercase the activation key sequence
This commit is contained in:
parent
29c86612df
commit
19e23254fb
1 changed files with 4 additions and 0 deletions
4
render.c
4
render.c
|
|
@ -1,6 +1,7 @@
|
|||
#include "render.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <wctype.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
|
|
@ -2591,6 +2592,9 @@ render_urls(struct terminal *term)
|
|||
}
|
||||
}
|
||||
|
||||
for (size_t i = 0; i < wcslen(key); i++)
|
||||
label[i] = towupper(label[i]);
|
||||
|
||||
size_t len = wcslen(label);
|
||||
int cols = wcswidth(label, len);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue