ansiada

v0.1.0

Comprehensive ANSI control sequences for terminal output

ANSI-Ada

Alire indexedMIT licensed

ANSI control sequences for the Ada language.

This library consists of a single pure package for the generation of escape sequences that allow to control, in ANSI-enabled TTYs:

  • Text color and styles
  • Cursor position
  • Clearing of parts of the terminal

In order to keep the library as simple as possible there is no TTY capability detection, so you must either assume ANSI is recognized or use other means of detection (e.g., Interfaces.C_Streams.isatty as a bare minimum to detect redirections).

The library comes with a demo program that can serve to test the appearance and capabilities of your terminal.

Install

Globally install this crate:

alr install ansiada

Add to your project:

alr with ansiada

Crate Information

Maintainers

Maintainers (GitHub pseudo)

Release Date

4 years ago

First Release

1/13/2021

License

Statistics

Dependencies: 0

Dependents: 7

Versions: 3