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.
Find the latest documentation of this crate at https://docs.rs/crate/ansi-control-codes/latest.
The source code for this library is hosted at https://git.zechert.net/fzechert/ansi-control-codes.
Contributions are welcome. Please keep in mind that the source code is not at github, but on my own git server. If you want to contribute, feel free to contact me.
This crate is under active development and maintenance.
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.