Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions COMMITMSG
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fix: Clean up awkward user-facing tune/config output lines

- Remove stray spaces in ESTIMATED tuning header line

Fixes #25

Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com>
9 changes: 9 additions & 0 deletions PRBODY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Summary

Clean up awkward user-facing tune/config output lines

## Changes

- Remove stray spaces in ESTIMATED tuning header line

Fixes #25
2 changes: 1 addition & 1 deletion crates/launchbound-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ fn cmd_tune(
)?;
let dev = device(cc)?;
println!(
"{} — ESTIMATED tuning (analytical model, cc {cc}); the gate is full, the timings are NOT measurements:",
"{} — ESTIMATED tuning (analytical model, cc {cc}); the gate is full, the timings are NOT measurements:",
spec.name
);
let mut admitted: Vec<_> = verdicts
Expand Down
9 changes: 7 additions & 2 deletions crates/launchbound-tui/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,13 @@ fn draw_overview(frame: &mut Frame<'_>, app: &App, area: Rect) {
lines.push(Line::from(""));
lines.push(Line::from(Span::styled(
format!(
"{} REFUSED configuration(s) measured FASTER than the chosen one — view 3",
r.rejected_faster.len()
"{} REFUSED {} measured FASTER than the chosen one — view 3",
r.rejected_faster.len(),
if r.rejected_faster.len() == 1 {
"configuration"
} else {
"configurations"
}
),
Style::default().add_modifier(Modifier::BOLD),
)));
Expand Down
Loading