mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
render: urls: add TODO: highlight already entered keys
This commit is contained in:
parent
5df2e990e3
commit
01c0535b5a
1 changed files with 6 additions and 0 deletions
6
render.c
6
render.c
|
|
@ -2633,6 +2633,12 @@ render_urls(struct terminal *term)
|
||||||
|
|
||||||
render_osd(term, surf, sub_surf, buf, label,
|
render_osd(term, surf, sub_surf, buf, label,
|
||||||
fg, bg, alpha, width, height, margin, margin);
|
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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue