SCREEN.LUA(8)
π SCREEN.LUA(8) π
okay so this is the section 8 manual page for screen.lua, straight out of the System Manager's Manual, and it's literally the bootloader screen manipulation module. no cap. π«Ά
πΈ NAME πΈ
screen.lua β bootloader screen manipulation module. short, iconic, does exactly what it says on the tin. π
π DESCRIPTION π
screen.lua contains functionality for manipulating the screen. This includes functionality such as clearing the screen, moving the cursor, and setting foreground/background colors using sequences provided by color.lua(8). it's giving screen glow-up toolkit, bestie. β¨
Before using the functionality provided by screen.lua, it must be included with a statement such as the following:
local screen = require("screen")
π the exported variables π
The following variables are exported from screen.lua:
screen.default_xβ the x component of the default cursor position. πscreen.default_yβ the y component of the default cursor position. π¦
π the exported functions π
The following functions are exported from screen.lua:
screen.clear()β clears the screen.screen.clear()will do nothing if a serial boot is detected. πscreen.setcursor(x, y)β sets the cursor position tox,y.screen.setcursor()will do nothing if a serial boot is detected. πscreen.setforeground(color_value)β sets the foreground color tocolor_value, which should be a constant defined incolor.lua(8).screen.setforeground()will do nothing if color is disabled. π₯screen.setbackground(color_value)β sets the background color tocolor_value, which should be a constant defined incolor.lua(8).screen.setbackground()will do nothing if color is disabled. πscreen.defcolor()β sets the default color scheme, as defined bycolor.default().screen.defcolor()will do nothing if color is disabled. πscreen.defcursor()β sets the default cursor position to that defined byscreen.default_x,screen.default_y. β
π₯ SEE ALSO π₯
color.lua(8)β the color lore companion page, go read it bestie. π
π AUTHORS π
- The
screen.luafile was originally written by Pedro Souza<pedrosouza@FreeBSD.org>. π«Ά - Later work and this manual page was done by Kyle Evans
<kevans@FreeBSD.org>. π
okay bestie, that's the whole page! π this cutie is from Debian, dated March 29, 2025, and it's SCREEN.LUA(8) β mwah! π
β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms