some testing

This commit is contained in:
Maddie H 2022-11-03 20:29:08 +00:00
parent 9b523dbd06
commit 62e9bd45e5
No known key found for this signature in database
GPG Key ID: 64FAA9959751687D

View File

@ -1,3 +1,5 @@
use std::time::Duration;
mod terminal; mod terminal;
mod editor; mod editor;
@ -5,6 +7,9 @@ fn main() {
let lambda = editor::Editor::new(); let lambda = editor::Editor::new();
println!("{}", lambda.buffer.data[0]); println!("{}", lambda.buffer.data[0]);
let term = terminal::Terminal::new(); let term = terminal::Terminal::new();
println!("{:?}", term); for _ in [0..1000000000] {
terminal::Terminal::exit(); println!("{:?}", term);
std::thread::sleep(Duration::from_millis(2000));
};
terminal::Terminal::exit()
} }