Api/dev: Difference between revisions

From Minux Wiki
Jump to navigation Jump to search
(Created page with "the dev api is part of the [https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=156&sid=28e78b287ed277219bad460a346dced7 devlib] package and is used to manipulate devices.")
 
No edit summary
Line 1: Line 1:
the dev [[api]] is part of the [https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=156&sid=28e78b287ed277219bad460a346dced7 devlib] package and is used to manipulate devices.
the dev [[api]] is part of the [https://wolfpak.vtchost.com/forum/viewtopic.php?f=17&t=156&sid=28e78b287ed277219bad460a346dced7 devlib] package and is used to manipulate devices.
[[Api/dev.colortranslate()|dev.colortranslate()]] - used by other api's to translate color codes
[[Api/dev.colorset()|dev.colorset()]] - set text and background colors for following prints
[[Api/dev.colorreset()|dev.colorreset()]] - reset the terminal colors
[[Api/dev.colorprint()|dev.colorprint()]] - prints a single string in color
[[Api/dev.colorwrite()|dev.colorwrite()]] - writes a single string in color

Revision as of 13:32, 1 October 2024

the dev api is part of the devlib package and is used to manipulate devices.


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