Api/dev: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
'''terminal options:''' | '''terminal options:''' | ||
[[Api/dev.colortranslate()|dev.colortranslate()]] - used by other api's to translate color codes | [[Api/dev.colortranslate()|dev.colortranslate()]] - used by other api's to translate color codes | ||
Revision as of 14:23, 1 October 2024
the dev api is part of the devlib package and is used to manipulate devices.
terminal options:
dev.colortranslate() - used by other api's to translate color codes
dev.colorset() - set text and background colors for following prints
dev.colorreset() - reset the terminal colors
dev.colorprint() - prints a single string in color
dev.colorwrite() - writes a single string in color
printer options: