render: reduce URL jump label margins

This commit is contained in:
Daniel Eklöf 2021-02-04 19:43:32 +01:00
parent 82e2541760
commit d69497efe4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -2555,7 +2555,7 @@ render_urls(struct terminal *term)
size_t len = wcslen(label);
int cols = wcswidth(label, len);
const int margin = 3 * term->scale;
const int margin = 2 * term->scale;
int width = 2 * margin + cols * term->cell_width;
int height = 2 * margin + term->cell_height;