cursive 0.6.2

A TUI (Text User Interface) library focused on ease-of-use.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
extern crate cursive;

use cursive::Cursive;
use cursive::views::{Dialog, TextArea};
use cursive::traits::*;

fn main() {
    let mut siv = Cursive::new();

    siv.add_layer(Dialog::new()
        .title("Describe your issue")
        .padding((1, 1, 1, 0))
        .content(TextArea::new()
            .with_id("text"))
        .button("Ok", Cursive::quit));

    siv.run();
}