Coded chars
This crate implements the ECMA-48 standard for coded characters in rust.
Various constructions are provided to easily add control character and sequences inside text. This crate is compatible with "ANSI terminals".
This crate does not use a concept of "styles" or any kind of abstraction other than ones defined in the standard.
Standard implemented
- ecma-48 - Control Functions for Coded Character Sets
Documentation
An example
use clear_screen;
use set_position;
use ;
// Direct format
println!;
// Clear screen
clear_screen;
// Using format_str
let formatted = format_str;
println!;
set_position.exec;
println!;
Current status
This crate is still in active development.
The API shall not change but a lot is yet to add.
Contact the author at trehinos@gmail.com.
License
© 2024 Sébastien Geldreich
MIT License