Skip to content

PHP Terminal emulator controller utilizing ANSI escape sequence coding

License

Notifications You must be signed in to change notification settings

1HappyPlace/ansi-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANSI Terminal

The ANSI/Terminal class controls a terminal shell such as bash. It is an abstract base class for Clio and the CLI HTML software. It provides a basic set of methods to command a terminal as well as prompt the user for information.

If you want to use this layer, simply instantiate BasicTerminal, which uses echo for output. BasicTerminal uses verbose and obvious methods, making for quickand easy use for simple requirements. If you want to move on to more capability, Clio provides a more extensive, easily chained language and extensive styling capability, and CLI HTML provides all that, plus full-up text positioning such as lists and tables.

For a full list of methods, see ANSI Terminal.