vellum

A small terminal emulation package; based on and inspired by munificent/malison
https://github.com/FuzzyWuzzie/vellum

To install, run:

haxelib install vellum 1.0.0 

See using Haxelib in Haxelib documentation for more information.

README.md

vellum

GitHub license GitHub issues Code Climate Travis

A small terminal emulation package; heavily based on, borrowed from, and inspired by munificent/malison.

Examples

Writing directly to the terminal

var term:CanvasTerminal = new CanvasTerminal(80, 25, vellum.Font.Menlo());
term.print(0, 0, 'Hello world!');
term.render();

Using Windows To Organize Things

var term:CanvasTerminal = new CanvasTerminal(80, 25, vellum.Font.Menlo());
var window:Window = term.pushWindow(5, 5, 20, 1);
print(0, 0, 'I\'m in a window!');
term.render();

Using Colours Via Escape Codes

var term:CanvasTerminal = new CanvasTerminal(80, 25, vellum.Font.Menlo());
term.printColoured(1, 1, '@r#deH@oe@yl@gl@lbo@_#_ #q@kworld@_#_!');
term.render();

Live Sample

A live sample is available to show it in action.

Contributors
FuzzyWuzzie
Version
1.0.0
Published
9 years ago
License
Apache

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub