From 01c0535b5ab2e4c78b04eccbfc46dd359315ab6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 6 Feb 2021 20:52:48 +0100 Subject: [PATCH] render: urls: add TODO: highlight already entered keys --- render.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/render.c b/render.c index 60b41dee..5d2f4263 100644 --- a/render.c +++ b/render.c @@ -2633,6 +2633,12 @@ render_urls(struct terminal *term) render_osd(term, surf, sub_surf, buf, label, fg, bg, alpha, width, height, margin, margin); + +#if 0 + /* TODO: somehow highlight the key(s) entered so far */ + pixman_color_t color = color_hex_to_pixman(fg); + draw_strikeout(term, buf->pix[0], term->fonts[0], &color, margin, margin, entered_key_len); +#endif } }