Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaos committed Nov 28, 2024
1 parent 2f40739 commit 3ac5e05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ impl<S: Store> App<S> {
components.push(Box::new(FpsCounter::new()));
}

let is_skip_empty_diffs = cli.is_skip_empty_diffs || config.general.skip_empty_diffs.unwrap_or_default();
let is_skip_empty_diffs =
cli.is_skip_empty_diffs || config.general.skip_empty_diffs.unwrap_or_default();
let disable_mouse = cli.disable_mouse || config.general.disable_mouse.unwrap_or_default();

Ok(Self {
Expand Down
5 changes: 1 addition & 4 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ pub struct Cli {
)]
pub disable_auto_save: bool,

#[arg(
long = "disable_mouse",
help = "Stop handling mouse events",
)]
#[arg(long = "disable_mouse", help = "Stop handling mouse events")]
pub disable_mouse: bool,

#[arg(
Expand Down

0 comments on commit 3ac5e05

Please sign in to comment.