12 lines
296 B
Rust
12 lines
296 B
Rust
|
use cursive::Cursive;
|
||
|
use cursive::views::{Dialog, TextView};
|
||
|
|
||
|
pub fn run() {
|
||
|
println!("YOLO");
|
||
|
let mut siv = Cursive::default();
|
||
|
siv.add_layer(Dialog::around(TextView::new("FUCKO"))
|
||
|
.title("YOLO SWAGGGGG")
|
||
|
.button("exit", |s| { s.quit() }));
|
||
|
siv.run();
|
||
|
}
|