mirror of
https://github.com/limine-bootloader/limine
synced 2025-01-19 11:09:26 +03:00
menu/editor: Add vertical bars around title
This commit is contained in:
parent
f6c8097c78
commit
57f77a8514
@ -244,9 +244,9 @@ refresh:
|
||||
// FALLTHRU
|
||||
default: {
|
||||
size_t title_length = strlen(title);
|
||||
if (i == (terms[0]->cols / 2) - DIV_ROUNDUP(title_length, 2) - 1) {
|
||||
print("%s", title);
|
||||
i += title_length - 1;
|
||||
if (i == (terms[0]->cols / 2) - DIV_ROUNDUP(title_length, 2) - 1 - 1) {
|
||||
print("┤%s├", title);
|
||||
i += (title_length + 2) - 1;
|
||||
} else {
|
||||
print(serial ? "-" : "─");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user