Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102870151
D46771.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
921 B
Referenced Files
None
Subscribers
None
D46771.diff
View Options
diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -530,6 +530,7 @@
drawn_menu = nil
screen.defcursor()
+ -- We explicitly want the newline print adds
print("Exiting menu!")
end
@@ -544,7 +545,7 @@
if last == nil or last ~= time then
last = time
screen.setcursor(x, y)
- print("Autoboot in " .. time ..
+ printc("Autoboot in " .. time ..
" seconds. [Space] to pause ")
screen.defcursor()
end
@@ -553,9 +554,12 @@
if ch == core.KEY_ENTER then
break
else
- -- erase autoboot msg
+ -- Erase autoboot msg. While real VT100s
+ -- wouldn't scroll when receiving a char with
+ -- the cursor at (24, 79), bad emulators do.
+ -- Avoid the issue by stopping at 79.
screen.setcursor(0, y)
- print(string.rep(" ", 80))
+ printc(string.rep(" ", 79))
screen.defcursor()
return ch
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 19, 5:54 AM (14 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
12769725
Default Alt Text
D46771.diff (921 B)
Attached To
Mode
D46771: loader: Use printc instead of print to fit in 24,80
Attached
Detach File
Event Timeline
Log In to Comment