]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
lualoader: fix the autoboot_delay countdown message
authorKatsuyuki Miyoshi <katsubsd@gmail.com>
Tue, 26 Oct 2021 16:21:34 +0000 (11:21 -0500)
committerKyle Evans <kevans@FreeBSD.org>
Wed, 9 Mar 2022 21:21:54 +0000 (15:21 -0600)
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)

stand/lua/menu.lua

index 82cc52d4dbf553474b622a1b797c647343b7a70c..fe6f7da6428330bac031777749a004dbd0aeb4d4 100644 (file)
@@ -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