Fix rustfmt suggestions

This commit is contained in:
Manos Pitsidianakis 2020-06-12 01:42:06 +03:00
parent 0618e62ab6
commit fe655e679c
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710
2 changed files with 4 additions and 4 deletions

View File

@ -382,8 +382,8 @@ fn run_app(opt: Opt) -> Result<()> {
state.render();
state.redraw();
if state.mode == UIMode::Embed {
state.rcv_event(UIEvent::EmbedInput(raw_input));
state.redraw();
state.rcv_event(UIEvent::EmbedInput(raw_input));
state.redraw();
}
},
ThreadEvent::Input((k, r)) => {

View File

@ -2135,7 +2135,7 @@ pub mod ansi {
Some('5') => current_fg = Color::Magenta,
Some('6') => current_fg = Color::Cyan,
Some('7') => current_fg = Color::White,
_ => {},
_ => {}
}
let next = chars.next();
if next != Some('m') {
@ -2154,7 +2154,7 @@ pub mod ansi {
Some('5') => current_bg = Color::Magenta,
Some('6') => current_bg = Color::Cyan,
Some('7') => current_bg = Color::White,
_ => {},
_ => {}
}
let next = chars.next();
if next != Some('m') {