ansi-control-codes

Crates.ioansi-control-codes
lib.rsansi-control-codes
version1.0.1
sourcesrc
created_at2023-04-01 21:05:36.681339
updated_at2024-06-09 17:09:29.967839
descriptionThis library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard
homepage
repositoryhttps://github.com/fzechert/ansi-control-codes
max_upload_size
id827558
size449,116
Frank Zechert (fzechert)

documentation

README

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.

With the optional features parser and explain, this library also provides features to parse and explain ANSI escape sequences.

Changelog

See CHANGELOG.md for a change log between versions of this library.

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.

Development of the next version happens in the develop branch. The master branch contains the latest release of the crate.

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.

Commit count: 38

cargo fmt