mirror of
https://github.com/kepler155c/opus
synced 2025-10-10 13:27:43 +00:00
better startup
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
local w, h = term.getSize()
|
||||
local str = 'Opus OS'
|
||||
term.setTextColor(colors.white)
|
||||
term.setBackgroundColor(colors.cyan)
|
||||
if term.isColor() then
|
||||
term.setBackgroundColor(colors.cyan)
|
||||
else
|
||||
term.setBackgroundColor(colors.lightGray)
|
||||
end
|
||||
term.setCursorPos((w - #str) / 2, h / 2)
|
||||
term.clear()
|
||||
term.write(str)
|
||||
|
Reference in New Issue
Block a user