From f7228717f8dcaf1f8419aa6e0e9451dec987672f Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Tue, 25 Aug 2026 07:09:57 +0530 Subject: [PATCH 1/2] 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> --- crates/launchbound-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/launchbound-cli/src/main.rs b/crates/launchbound-cli/src/main.rs index ef274a3..dd6d9ce 100644 --- a/crates/launchbound-cli/src/main.rs +++ b/crates/launchbound-cli/src/main.rs @@ -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 From df6bb4f30c06bbf1f8448422d7d998d808b7470f Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Tue, 25 Aug 2026 07:12:15 +0530 Subject: [PATCH 2/2] fix: pluralize refused configuration banner Signed-off-by: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> --- COMMITMSG | 7 +++++++ PRBODY.md | 9 +++++++++ crates/launchbound-tui/src/app.rs | 9 +++++++-- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 COMMITMSG create mode 100644 PRBODY.md diff --git a/COMMITMSG b/COMMITMSG new file mode 100644 index 0000000..e1e406d --- /dev/null +++ b/COMMITMSG @@ -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> diff --git a/PRBODY.md b/PRBODY.md new file mode 100644 index 0000000..bff92a8 --- /dev/null +++ b/PRBODY.md @@ -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 diff --git a/crates/launchbound-tui/src/app.rs b/crates/launchbound-tui/src/app.rs index 885424a..c2d67ff 100644 --- a/crates/launchbound-tui/src/app.rs +++ b/crates/launchbound-tui/src/app.rs @@ -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), )));