fix: hangs, lost errors and unchecked input found in review #23
No reviewers
Labels
No labels
accessibility
bug
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jwarykowski/keybars!23
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/review-findings"
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?
Fixes from a code review of the CLI and
pkg/.source.Cavacloses its frames on every return, so the error shows at once andkeybars startdoesn't report a false start.runwaits for cava's result, so a crash no longer exits 0.gen: a timeout on QMK fetches, fallbacks after a network error, and an unreadable local file is reported.-fps,-smooth,-gainare range-checked;-sourcecan't hold line breaks.stopchecks the pid file names keybars before signalling.find -todefaults to -1, so-to 0works.pkg/barsusesrgbtypes instead ofkeymapp's (no grpc dependency in the renderer).-race.Coverage 53.6% -> 69.7% (keymapp 35 -> 91%, source 41 -> 92%, main 13 -> 40%).