Use default instead of ncurses

This commit is contained in:
Valentin Tunev 2018-08-01 22:54:51 +03:00
parent 86a023f9f2
commit 3ba4afd742

View File

@ -37,7 +37,7 @@ use cursive::views::{Dialog, TextView};
fn main() {
// Creates the cursive root - required for every application.
let mut siv = Cursive::ncurses();
let mut siv = Cursive::default();
// Creates a dialog with a single "Quit" button
siv.add_layer(Dialog::around(TextView::new("Hello Dialog!"))