git: bb4c691299c5 - main - lualoader: fix the autoboot_delay countdown message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Oct 2021 16:24:50 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=bb4c691299c5d699cea29e18fef96bda1cef13da
commit bb4c691299c5d699cea29e18fef96bda1cef13da
Author: Katsuyuki Miyoshi <katsubsd@gmail.com>
AuthorDate: 2021-10-26 16:21:34 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-26 16:24:29 +0000
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
MFC after: 3 days
Reviewed by: emaste
---
stand/lua/menu.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
index d1e1ee012834..f1a4f07a8d73 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -522,7 +522,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