renames crate from ansi to ansi-control-codes
This commit is contained in:
parent
d1caad00cc
commit
32682a2d08
@ -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"
|
||||
|
@ -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);
|
||||
//! ```
|
||||
//!
|
||||
|
@ -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);
|
||||
//! ```
|
||||
//!
|
||||
|
@ -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)));
|
||||
//! ```
|
||||
//!
|
||||
|
@ -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);
|
||||
//! ```
|
||||
//!
|
||||
|
@ -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);
|
||||
//! ```
|
||||
|
Loading…
x
Reference in New Issue
Block a user