kaolinite 0.9.5

A crate to assist in the creation of TUI text editors.
Documentation
1
2
3
4
5
6
7
8
9
10
use kaolinite::utils;

fn main() {
    let string = "\tblack你milk好attack好".to_string();
    for i in 0..26 {
        // With the string, cut it so that it starts at i and is a length of 5
        // it will render tabs as 4 spaces
        println!("{:?}", utils::trim(&string, i, 5, 4));
    }
}