ANSI Terminal 0.9.0
ANSI Terminal FWT Widget

An FWT widget that prints ANSI escape sequences.

Features:

  • 256 Colour VGA palette or full colour
  • Foreground and background colours, palette index and full colour
  • Bold, italic, underline, and crossed out fonts
  • Cursor commands for up, down, left, right, absolute, save, restore
  • Clear commands for line and screen

AnsiTerminal wraps a RichText widget and provides methods to print ANSI escape sequences.

The AnsiBuf class provides convenient methods for generating ANSI escape sequences.

Read more...

Install

To install ANSI Terminal with Fantom Pod Manager, cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install ANSI Terminal with the Fantom Repository Manager (fanr), cut'n'paste the following into a cmd prompt, terminal or shell:

Or to install manually, download the pod file and copy it to the %FAN_HOME%/lib/fan/ directory.

afTerminal.pod (94.60 kB)

Use

To use ANSI Terminal in a Fantom project, add a dependency to the project's build.fan:

depends = ["sys 1.0", ..., "afTerminal 0.9.0 - 0.9"]

Documentation

Information

Meta information on the ANSI Terminal pod:

Published by
Steve Eynon
Organisation
Alien-Factory
Pod file size
94.60 kB
Licence
ISC Licence (ISC)
Built on
13th Nov 2017
Source code
via Mercurial at https://bitbucket.org/AlienFactory/afterminal
Depends on
fandoc, fwt, gfx, sys
Referenced by
Javascript Compatible
No

Dependency Graph

  Use mouse to re-position pods