Fix rustfmt suggestions
parent
0618e62ab6
commit
fe655e679c
|
@ -382,8 +382,8 @@ fn run_app(opt: Opt) -> Result<()> {
|
||||||
state.render();
|
state.render();
|
||||||
state.redraw();
|
state.redraw();
|
||||||
if state.mode == UIMode::Embed {
|
if state.mode == UIMode::Embed {
|
||||||
state.rcv_event(UIEvent::EmbedInput(raw_input));
|
state.rcv_event(UIEvent::EmbedInput(raw_input));
|
||||||
state.redraw();
|
state.redraw();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ThreadEvent::Input((k, r)) => {
|
ThreadEvent::Input((k, r)) => {
|
||||||
|
|
|
@ -2135,7 +2135,7 @@ pub mod ansi {
|
||||||
Some('5') => current_fg = Color::Magenta,
|
Some('5') => current_fg = Color::Magenta,
|
||||||
Some('6') => current_fg = Color::Cyan,
|
Some('6') => current_fg = Color::Cyan,
|
||||||
Some('7') => current_fg = Color::White,
|
Some('7') => current_fg = Color::White,
|
||||||
_ => {},
|
_ => {}
|
||||||
}
|
}
|
||||||
let next = chars.next();
|
let next = chars.next();
|
||||||
if next != Some('m') {
|
if next != Some('m') {
|
||||||
|
@ -2154,7 +2154,7 @@ pub mod ansi {
|
||||||
Some('5') => current_bg = Color::Magenta,
|
Some('5') => current_bg = Color::Magenta,
|
||||||
Some('6') => current_bg = Color::Cyan,
|
Some('6') => current_bg = Color::Cyan,
|
||||||
Some('7') => current_bg = Color::White,
|
Some('7') => current_bg = Color::White,
|
||||||
_ => {},
|
_ => {}
|
||||||
}
|
}
|
||||||
let next = chars.next();
|
let next = chars.next();
|
||||||
if next != Some('m') {
|
if next != Some('m') {
|
||||||
|
|
Loading…
Reference in New Issue