Compare commits

..

2 Commits

Author SHA1 Message Date
32682a2d08 renames crate from ansi to ansi-control-codes 2023-04-01 23:05:20 +02:00
d1caad00cc updates crate keywords 2023-04-01 22:18:56 +02:00
6 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
[package]
name = "ansi"
name = "ansi-control-codes"
description = "This library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard"
version = "0.0.1"
edition = "2021"
@@ -10,7 +10,7 @@ license = "MIT"
# crates.io
publish = true
keywords = ["ansi", "escape codes", "ISO 6429", "ECMA 48", "ANSI X3.64"]
keywords = ["ansi", "escape-codes", "ISO-6429", "ECMA-48", "ANSI-X364"]
categories = ["command-line-interface"]
include = ["**/*.rs", "Cargo.toml"]

View File

@@ -16,7 +16,7 @@
//! For example, designate the C0 set, then ring the bell.
//!
//! ```
//! use ansi::c0::{ANNOUNCER_SEQUENCE, BEL};
//! use ansi_control_codes::c0::{ANNOUNCER_SEQUENCE, BEL};
//! println!("{}{}", ANNOUNCER_SEQUENCE, BEL);
//! ```
//!

View File

@@ -16,7 +16,7 @@
//! For example, designate the C1 set, then set a character tabulation stop.
//!
//! ```
//! use ansi::c1::{ANNOUNCER_SEQUENCE, HTS};
//! use ansi_control_codes::c1::{ANNOUNCER_SEQUENCE, HTS};
//! println!("{}{}", ANNOUNCER_SEQUENCE, HTS);
//! ```
//!

View File

@@ -13,7 +13,7 @@
//! For example, move the cursor to line 5, character 13:
//!
//! ```
//! use ansi::control_sequences::CUP;
//! use ansi_control_codes::control_sequences::CUP;
//! print!("{}", CUP(Some(5), Some(13)));
//! ```
//!

View File

@@ -12,7 +12,7 @@
//! For example, to disable manual input:
//!
//! ```
//! use ansi::independent_control_functions::DMI;
//! use ansi_control_codes::independent_control_functions::DMI;
//! println!("{}", DMI);
//! ```
//!

View File

@@ -28,14 +28,14 @@
//! The control functions can be put into normal strings. For example, to ring the bell:
//!
//! ```
//! use ansi::c0::BEL;
//! use ansi_control_codes::c0::BEL;
//! println!("Let's ring the bell {}", BEL);
//! ```
//!
//! Or to move the cursor to line 5, column 13:
//!
//! ```
//! use ansi::control_sequences::CUP;
//! use ansi_control_codes::control_sequences::CUP;
//! print!("{}", CUP(5.into(), 13.into()));
//! ```
//!
@@ -43,7 +43,7 @@
//! This is possible by invoking one of the announcer sequences.
//!
//! ```
//! use ansi::c1::{ANNOUNCER_SEQUENCE, NEL};
//! use ansi_control_codes::c1::{ANNOUNCER_SEQUENCE, NEL};
//! // announce the C1 control function set, then move to the next line.
//! print!("{}{}", ANNOUNCER_SEQUENCE, NEL);
//! ```