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