Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjohnson5 committed Aug 10, 2024
1 parent f0dbd11 commit badad34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blast_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ async fn run<B: Backend>(terminal: &mut Terminal<B>, mut blast_cli: BlastCli) ->
}

if failed {
error = Some(format!("Failed to start the simulation: {:?}", error_str));
error = Some(format!("Failed to stop the simulation: {:?}", error_str));
mode = Mode::Error;
} else {
current.close();
Expand Down
1 change: 1 addition & 0 deletions blast_cli/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ impl BlastTab for RunTab {
self.window[0] = 0.0;
self.window[1] = 20.0;
self.success_rate_data = [(0.0, 0.0); 21];
self.points = 0;
}

fn process(&mut self, key: KeyEvent) -> ProcessResult {
Expand Down

0 comments on commit badad34

Please sign in to comment.