sd-boot: Draw custom edit cursor
authorJan Janssen <medhefgo@web.de>
Sun, 15 Aug 2021 11:44:35 +0000 (13:44 +0200)
committerJan Janssen <medhefgo@web.de>
Tue, 17 Aug 2021 11:59:13 +0000 (13:59 +0200)
commit2e65d6103d0235d61217c56679e1e1951019f486
tree280681b6f3c545e981cc4d121b0c76f355e1a6d7
parente313e934db2baab43f64ad47b8c4be3c3e746b46
sd-boot: Draw custom edit cursor

Firmware likes to draw the EFI provided cursor in a weird way that
makes it invisible sometimes. This is even more likely to happen
if unusual colors are picked. It also fails to draw attention to the
user by being very small and not blinking.

Additionally, to make it more clear that we are in edit mode, we
now default to inverting the general default color and use that for
our line edit.

Fixes: #19301
meson_options.txt
src/boot/efi/boot.c