[][src]Function termcandy::run

pub fn run<W>(
    widget: W
) -> impl Future<Item = W::Item, Error = RunError<W::Error>> where
    W: Widget

Create a future that initializes the terminal and runs the given widget.