Module independent_control_functions

Source
Expand description

Independent Control Functions.

These control functions are represented in 7-bit codes by 2-character escape sequences of the form ESC Fs, where ESC is represented by bit combination 01/11 and Fs is represented by a bit combination from 06/00 to 07/14.

§Usage

You can use the independent control functions inside normal strings, format them with the format!() macro, or print them with the print!() and println!() macros.

For example, to disable manual input:

use ansi_control_codes::independent_control_functions::DMI;
println!("{}", DMI);

§Overview of the Independent Control Functions

Row NumberColumn 06Column 07
00DMI
01INT
02EMI
03RIS
04CMD
05
06
07
08
09
10
11
12LS3R
13LS2R
14LS2LS1R
15LS3

§Note

ESC Fs sequences are registered in the ISO International Register of Coded Character Sets to be Used with Escape Sequences, which is maintained by the Registration Authority for ISO 2375.

Constants§

CMD
Coding Method Delimiter.
DMI
Disable Manual Input
EMI
Enable Manual Input.
INT
Interrupt.
LS2
Locking-Shift Two.
LS3
Locking-Shift Three.
LS1R
Locking-Shift One Right.
LS2R
Locking-Shift Two Right.
LS3R
Locking-Shift Three Right.
RIS
Reset to Initial State.