Skip to content

Commit

Permalink
fix: show timing value
Browse files Browse the repository at this point in the history
  • Loading branch information
hugocaillard committed Jan 24, 2024
1 parent b497eb1 commit 8df8121
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/clarity-repl/src/repl/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,10 @@ impl Session {

pub fn toggle_timings(&mut self, output: &mut Vec<String>) {
self.interpreter.repl_settings.show_timings = !self.interpreter.repl_settings.show_timings;
output.push(green!(format!("Always show timings: {}", self.show_costs)))
output.push(green!(format!(
"Always show timings: {}",
self.interpreter.repl_settings.show_timings
)))
}

pub fn get_epoch(&mut self, output: &mut Vec<String>) {
Expand Down

0 comments on commit 8df8121

Please sign in to comment.