Wait quietly for an absent braille display

Helper retries BrlAPI open in-process until BRLTTY answers, supervisor waits with the parked helper instead of kill/respawn cycles, exponential backoff and warn-once for real helper exits, bounded give-up so permanent failures still surface.
This commit is contained in:
hjozwiak committed 2026-11-03 10:35:00 -05:00
1 parent 6c10ed0517
commit 002e515edf
5 files changed
+279 -15

No files matched your search

+1
View File
@@ -31,6 +31,7 @@ type brailleWorker struct {
connected bool
logger *slog.Logger
path string
readyGiveUp time.Duration // Wedged-helper recycle bound; zero uses the default.
mu sync.Mutex
frame braille.Frame
baseFrame braille.Frame