Normal Lua, only less lines of code!
Functions:
Spoiler
Convenience.ColorPrint(colors.red, "This is some red printed text.") --Prints red text
Convenience.ColorWrite(Colors.blue, "This is some blue written text.") --Writes blue text
Convenience.ClearScreen() --Clears screen and set cursor position to 1,1(Top left).
Convenience.PasswordLock("My password.", "This is my password prompt.") --Displays a password prompt, with the promt text specified, and the password.
Convenience.PositionPrint(4, 5, "This is some text printed at the coordinates 4X and 5Y.")
Convenience.PositionWrite(4, 5, "This is some text written at the coordinates 4X and 5Y.")
Convenience.GiveCredit() --Gimme some credit.
Convenience.CenterPrint("This is some printed text centered on the line it's written on.") --Centers text, but only on the line it's on.
Convenience.CenterWrite("This is some written text centered on the line it's written on.") --Centers text, but only on the line it's on.
Installation
Spoiler
Make sure you have HTTP enabled in the ComputerCraft configuration file, once you do, type the text below into your computer:
pastebin get tBka3kmL Convenience
Then, once you have the API installed, for the API to take effect, type this at the start of your code/program that you plan to make:
os.loadAPI("Convenience") --Or what you saved the filename as.
Screenies! (Pretty outdated, look in "Functions" for up-to-date code.)
Spoiler
OUTPUT:
And after the password prompts clears the screen:
I have just made this earlier today, so it's obviously going to be frequently updated. All I need to do is edit the pastebin file, and BOOM! Instant update.