:: commit 87c2cc121dbd9ce60be70343dba78f3a2c26ece0

mintsuki <mintsuki@protonmail.com> — 2024-04-19 23:25

parents: b8a42e2615

menu: Move fw setup text right if editor disabled

diff --git a/common/menu.c b/common/menu.c
index 9f75bc4a..c1a0a47f 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -897,7 +897,7 @@ refresh:
             }
 #if defined(UEFI)
             if (reboot_to_firmware_supported) {
-                set_cursor_pos_helper(terms[0]->cols - 37, 3);
+                set_cursor_pos_helper(terms[0]->cols - (editor_enabled ? 37 : 20), 3);
                 print("\e[32mS\e[0m Firmware Setup");
             }
 #endif
tab: 248 wrap: offon