Remove LIVE/NO SIGNAL label from HUD
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -48,7 +48,7 @@ proc main() =
|
|||||||
tb = newTerminalBuffer(w, h)
|
tb = newTerminalBuffer(w, h)
|
||||||
scope.phosphor.render(tb)
|
scope.phosphor.render(tb)
|
||||||
drawGraticule(tb, w, h, scope.grid)
|
drawGraticule(tb, w, h, scope.grid)
|
||||||
drawHUD(tb, w, h, scope, audio.sourceLabel)
|
drawHUD(tb, w, h, scope)
|
||||||
tb.display()
|
tb.display()
|
||||||
|
|
||||||
let key = getKey()
|
let key = getKey()
|
||||||
|
|||||||
@@ -120,8 +120,7 @@ proc drawGraticule*(tb: var TerminalBuffer, w, h: int, grid: GridStyle) =
|
|||||||
|
|
||||||
# ── HUD ──────────────────────────────────────────────────────────────
|
# ── HUD ──────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
proc drawHUD*(tb: var TerminalBuffer, w, h: int, scope: Scope,
|
proc drawHUD*(tb: var TerminalBuffer, w, h: int, scope: Scope) =
|
||||||
source: string) =
|
|
||||||
let modeStr = case scope.mode
|
let modeStr = case scope.mode
|
||||||
of ModeYT: "Y-T"
|
of ModeYT: "Y-T"
|
||||||
of ModeXY: "X-Y"
|
of ModeXY: "X-Y"
|
||||||
@@ -132,7 +131,6 @@ proc drawHUD*(tb: var TerminalBuffer, w, h: int, scope: Scope,
|
|||||||
let freezeStr = if scope.frozen: " ▌▌" else: ""
|
let freezeStr = if scope.frozen: " ▌▌" else: ""
|
||||||
tb.write(1, 0, fgGreen, styleBright,
|
tb.write(1, 0, fgGreen, styleBright,
|
||||||
" " & modeStr & gainStr & tdStr & freezeStr & " ")
|
" " & modeStr & gainStr & tdStr & freezeStr & " ")
|
||||||
tb.write(w - source.len - 2, 0, fgGreen, styleDim, source)
|
|
||||||
|
|
||||||
let help = " m:mode +/-:gain [/]:time g:grid spc:freeze q:quit "
|
let help = " m:mode +/-:gain [/]:time g:grid spc:freeze q:quit "
|
||||||
tb.write(w - help.len - 1, h - 1, fgGreen, styleDim, help)
|
tb.write(w - help.len - 1, h - 1, fgGreen, styleDim, help)
|
||||||
|
|||||||
Reference in New Issue
Block a user