From a52abd9f9647e9de4ff7f1e8b02e36775b40cdda Mon Sep 17 00:00:00 2001 From: Codeman maintainer Date: Sun, 16 Aug 2026 21:08:14 +0200 Subject: [PATCH] fix: drop the two keymap and style entries nothing reaches `mark()` had no callers (knip's only finding on this branch), and the renderer's fallback help list advertised `r` resume, which is deferred with the rest of phase 3: a help screen naming a verb the build does not implement is worse than no help. Co-Authored-By: Claude Fable 5 --- src/cli-style.ts | 5 ----- src/tui/tui-render.ts | 1 - 2 files changed, 6 deletions(-) diff --git a/src/cli-style.ts b/src/cli-style.ts index b128ed7f..7c4e2192 100644 --- a/src/cli-style.ts +++ b/src/cli-style.ts @@ -77,11 +77,6 @@ export function tint(tone: Tone, text: string): string { return TONE_STYLE[tone](text); } -/** Colored glyph for a tone, the `✓ ` / `✗ ` prefix most command output opens with. */ -export function mark(tone: Tone): string { - return tint(tone, glyphFor(tone)); -} - // ───────────────────────────────────────────────────────────────────────────── // Blocks // ───────────────────────────────────────────────────────────────────────────── diff --git a/src/tui/tui-render.ts b/src/tui/tui-render.ts index d673c34d..3e0757a4 100644 --- a/src/tui/tui-render.ts +++ b/src/tui/tui-render.ts @@ -675,7 +675,6 @@ function helpLines(glyphs: TuiGlyphSet, custom?: ReadonlyArray