#ansi #ansi-term #ecma-48 #iso-6429 #control-codes #escape-codes

ansi-control-codes

This library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard

4 releases

0.0.5 Dec 15, 2023
0.0.4 Dec 15, 2023
0.0.3 Dec 15, 2023
0.0.2 Apr 2, 2023
0.0.1 Apr 1, 2023

#486 in Command-line interface

MIT license

200KB
1.5K SLoC

ANSI Escape Code Library

ANSI escape sequences are a standard for in-band signalling to control cursor location, color, font styling, and other options on video text terminals and terminal emulators.

This library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard. ISO 6429 is the international standard that followed from the efforts of aligning the european ECMA-48 Standard and the american ANSI X3.64 Standard.

Documentation

Find the latest documentation of this crate at https://docs.rs/crate/ansi-control-codes/latest.

Source Code Repository

The source code for this library is hosted at https://github.com/fzechert/ansi-control-codes.

Contribution

Contributions are welcome.

Development / Maintenance Status

This crate is under active development and maintenance.

Source Material

The second, and newer, editions of the ECMA-48 Standard are based on the text of the ISO 6429 Standard and are technically identical with it. Since the ISO 6429 Standard is not freely available on the internet, this implementation is based on the publicly available documents of the ECMA-48 Standard. In particular on edition 5 of the ECMA-48 Standard, which is identical to the third edition of ISO-6429.

The ANSI X3.64 Standard has been withdrawn by ANSI in 1994 in favour of the international standard.

You can read more about the history of the standards on Wikipedia: ANSI escape code.

No runtime deps