cargo fmt
This commit is contained in:
parent
25632f3427
commit
0603746d7c
@ -655,12 +655,12 @@ impl App {
|
|||||||
) {
|
) {
|
||||||
self.should_quit = true;
|
self.should_quit = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Show About modal on 'a' or 'A'
|
// Show About modal on 'a' or 'A'
|
||||||
if matches!(k.code, KeyCode::Char('a') | KeyCode::Char('A')) {
|
if matches!(k.code, KeyCode::Char('a') | KeyCode::Char('A')) {
|
||||||
self.modal_manager.push_modal(ModalType::About);
|
self.modal_manager.push_modal(ModalType::About);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Per-core scroll via keys (Up/Down/PageUp/PageDown/Home/End)
|
// Per-core scroll via keys (Up/Down/PageUp/PageDown/Home/End)
|
||||||
let sz = terminal.size()?;
|
let sz = terminal.size()?;
|
||||||
let area = Rect::new(0, 0, sz.width, sz.height);
|
let area = Rect::new(0, 0, sz.width, sz.height);
|
||||||
|
|||||||
@ -416,7 +416,7 @@ impl ModalManager {
|
|||||||
"#;
|
"#;
|
||||||
|
|
||||||
let version = env!("CARGO_PKG_VERSION");
|
let version = env!("CARGO_PKG_VERSION");
|
||||||
|
|
||||||
let about_text = format!(
|
let about_text = format!(
|
||||||
"{}\n\
|
"{}\n\
|
||||||
Version {}\n\
|
Version {}\n\
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user