renames crate from ansi to ansi-control-codes

This commit is contained in:
Frank Zechert 2023-04-01 23:01:53 +02:00
parent d1caad00cc
commit 32682a2d08
6 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
[package] [package]
name = "ansi" name = "ansi-control-codes"
description = "This library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard" description = "This library contains all ANSI Escape Codes that are defined in the ISO 6429 Standard"
version = "0.0.1" version = "0.0.1"
edition = "2021" edition = "2021"

View File

@ -16,7 +16,7 @@
//! For example, designate the C0 set, then ring the bell. //! 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); //! println!("{}{}", ANNOUNCER_SEQUENCE, BEL);
//! ``` //! ```
//! //!

View File

@ -16,7 +16,7 @@
//! For example, designate the C1 set, then set a character tabulation stop. //! 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); //! println!("{}{}", ANNOUNCER_SEQUENCE, HTS);
//! ``` //! ```
//! //!

View File

@ -13,7 +13,7 @@
//! For example, move the cursor to line 5, character 13: //! 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))); //! print!("{}", CUP(Some(5), Some(13)));
//! ``` //! ```
//! //!

View File

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

View File

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