chore(tui): delete dead braille code, hoist sparkWidth, stop resize flash #115
Reference in New Issue
Block a user
Delete Branch "fix/tui-cleanup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Three TUI cleanup items from the review-findings backlog.
Delete dead braille code —
braille.go+braille_test.gowere only referenced by each other. -176 lines. Can be re-added when latency charts are built.Hoist duplicate sparkWidth —
const sparkWidth = 40was defined independently inupdate.goandview_detail.go. Now a singledetailSparkWidthpackage constant. Click-index resolution and rendering share one value.Stop resize flash —
tea.ClearScreenfired on everyWindowSizeMsg, causing full-screen flash during continuous resizes. Removed. Manualctrl+lclear kept.Also verified:
tickMsgtype (item 4) was already fixed in a prior PR.Test plan
go test -count=1 ./...— all passgolangci-lint— 0 issues