mirror of
https://github.com/limine-bootloader/limine
synced 2025-02-13 07:34:15 +03:00
menu: Change menu arrow to use unicode big arrow
This commit is contained in:
parent
ac0d9465f5
commit
a30cad3556
@ -548,12 +548,14 @@ static size_t print_tree(size_t offset, size_t window, const char *shift, size_t
|
|||||||
}
|
}
|
||||||
if (current_entry->sub) {
|
if (current_entry->sub) {
|
||||||
if (!no_print) print(current_entry->expanded ? "[-]" : "[+]");
|
if (!no_print) print(current_entry->expanded ? "[-]" : "[+]");
|
||||||
|
cur_len += 3;
|
||||||
} else if (level) {
|
} else if (level) {
|
||||||
if (!no_print) print(serial ? "-> " : "─> ");
|
if (!no_print) print(serial ? "-> " : "─►");
|
||||||
|
cur_len += 2;
|
||||||
} else {
|
} else {
|
||||||
if (!no_print) print(" ");
|
if (!no_print) print(" ");
|
||||||
|
cur_len += 3;
|
||||||
}
|
}
|
||||||
cur_len += 3;
|
|
||||||
if (base_index + max_entries == selected_entry) {
|
if (base_index + max_entries == selected_entry) {
|
||||||
*selected_menu_entry = current_entry;
|
*selected_menu_entry = current_entry;
|
||||||
if (!no_print) print("\e[7m");
|
if (!no_print) print("\e[7m");
|
||||||
|
BIN
screenshot.png
BIN
screenshot.png
Binary file not shown.
Before Width: | Height: | Size: 451 KiB After Width: | Height: | Size: 501 KiB |
Loading…
x
Reference in New Issue
Block a user