some testing
This commit is contained in:
parent
9b523dbd06
commit
62e9bd45e5
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user