![]() Standard methods map low-level terminal capabilities.įor all the functions below, additional arguments can be provided. You can also define your own terminal interface, see. So term is an instanceof of termkit.Terminal, that should in almost all cases match correctly the terminal youĪre currently using. To be var term = require( 'terminal-kit' ).terminal or var term = termkit.terminal. In all examples, termkit is assumed to be var termkit = require( 'terminal-kit' ) while term is assumed Use Node Package Manager: npm install terminal-kit screen & off-screen buffers (a concept similar to SDL's Surface).mouse support (GPM is supported for the Linux Console).styles (bold, underline, italic, and many more).colors, 256 colors or even 24 bits colors, if the terminal supports it.Some tutorials are available at /tag/terminal. ![]() Platform: linux, it should be compatible with any xterm-compatible terminal, it has been tested successfully with:.This is the absolute terminal lib for Node.js! ![]() Whether you just need colors & styles, build a simple interactive command line tool or a complexe terminal application: A full-blown terminal lib featuring: 256 colors, styles, keys & mouse handling, input field, interactive 'yes or no', ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |