fn theme(root: &mut Cursive) -> Theme {
    let mut theme = root.current_theme().clone();
    theme.palette[Background] = TerminalDefault;
    theme.palette[View] = TerminalDefault;
    theme.palette[Primary] = Dark(White);
    theme.palette[Tertiary] = Dark(White);
    theme
}
/// Set a better default theme. Assumes dark terminal. Untested on light.
// TODO: Runtime Theme loading?
Set a better default theme. Assumes dark terminal. Untested on light.
Set a better default theme . Assumes dark terminal . Untested on light .
fn theme(root: &mut Cursive) -> Theme {
    let mut theme = root.current_theme().clone();
    theme.palette[Background] = TerminalDefault;
    theme.palette[View] = TerminalDefault;
    theme.palette[Primary] = Dark(White);
    theme.palette[Tertiary] = Dark(White);
    theme
}
fn theme ( root : & mut Cursive ) -> Theme { let mut theme = root . current_theme ( ) . clone ( ) ; theme . palette [ Background ] = TerminalDefault ; theme . palette [ View ] = TerminalDefault ; theme . palette [ Primary ] = Dark ( White ) ; theme . palette [ Tertiary ] = Dark ( White ) ; theme }
Set a better default theme.
Set a better default theme .
root
&mut Cursive
root
&mut Cursive