dsl/
dsl.rs

1use noct::{KeyboardControllable, Noct};
2use std::thread;
3use std::time::Duration;
4
5fn main() {
6    thread::sleep(Duration::from_secs(2));
7    let mut noct = Noct::new();
8
9    // write text and select all
10    noct.key_sequence_parse("{+UNICODE}{{Hello World!}} ❤️{-UNICODE}{+CTRL}a{-CTRL}");
11}