Crates.io | ansi-control-codes |
lib.rs | ansi-control-codes |
version | 1.0.1 |
source | src |
created_at | 2023-04-01 21:05:36.681339 |
updated_at | 2024-06-09 17:09:29.967839 |
description | This library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard |
homepage | |
repository | https://github.com/fzechert/ansi-control-codes |
max_upload_size | |
id | 827558 |
size | 449,116 |
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.
With the optional features parser
and explain
, this library also provides features to parse and explain ANSI
escape sequences.
See CHANGELOG.md for a change log between versions of this library.
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://github.com/fzechert/ansi-control-codes.
Development of the next version happens in the develop
branch.
The master
branch contains the latest release of the crate.
Contributions are welcome.
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.