pub fn arg_tui(item: &str) {
    // Create a blank CUrsive Root
    let mut siv = cursive::default();
    // Add a DummyView to the blank root
    siv.add_layer(DummyView);
    // Matches the arguments passed
    match item {
        "wle" => wle_tui(&mut siv),
        "set" => set_tui(&mut siv),
        _ => unreachable!("Item not in list"),
    };
    // Runs the Cursive Root
    siv.run();
}
/// Function that sets up a Cursive TUI when started from
/// a command-line argument

Function that sets up a Cursive TUI when started from
a command-line argument
Function that sets up a Cursive TUI when started from a command - line argument
pub fn arg_tui(item: &str) {
    // Create a blank CUrsive Root
    let mut siv = cursive::default();
    // Add a DummyView to the blank root
    siv.add_layer(DummyView);
    // Matches the arguments passed
    match item {
        "wle" => wle_tui(&mut siv),
        "set" => set_tui(&mut siv),
        _ => unreachable!("Item not in list"),
    };
    // Runs the Cursive Root
    siv.run();
}
pub fn arg_tui ( item : & str ) { // Create a blank CUrsive Root
 let mut siv = cursive :: default ( ) ; // Add a DummyView to the blank root
 siv . add_layer ( DummyView ) ; // Matches the arguments passed
 match item { " " => wle_tui ( & mut siv ) , " " => set_tui ( & mut siv ) , _ => unreachable ! ( " " ) , } ; // Runs the Cursive Root
 siv . run ( ) ; }
Function that sets up a Cursive TUI when started from
a command-line argument
Function that sets up a Cursive TUI when started from a command - line argument
item
&str
item
&str