From: Katsuyuki Miyoshi Date: Tue, 26 Oct 2021 16:21:34 +0000 (-0500) Subject: lualoader: fix the autoboot_delay countdown message X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9cb5ea3dd2ec87a08cef3963823a1015611a1b94;p=people%2Froyger%2Ffreebsd.git lualoader: fix the autoboot_delay countdown message When the timer drops from double to single digits, a spare 'e' is left on the end of the line as we don't overwrite it. Include an extra space at the end to account for this and overwrite the leftover character. PR: 259429 (cherry picked from commit bb4c691299c5d699cea29e18fef96bda1cef13da) --- diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua index 82cc52d4dbf5..fe6f7da64283 100644 --- a/stand/lua/menu.lua +++ b/stand/lua/menu.lua @@ -515,7 +515,7 @@ function menu.autoboot(delay) last = time screen.setcursor(x, y) print("Autoboot in " .. time .. - " seconds. [Space] to pause") + " seconds. [Space] to pause ") screen.defcursor() end if io.ischar() then