Skip to content

Fix TUI hang when brew commands trigger sudo password prompts - #75

Merged
Valkyrie00 merged 1 commit into
mainfrom
fix/sudo-password-hang-on-remove
Jul 6, 2026
Merged

Valkyrie00 merged 1 commit into
mainfrom
fix/sudo-password-hang-on-remove

Conversation

@Valkyrie00

Copy link
Copy Markdown
Owner

Detach brew subprocesses from the controlling terminal (Setsid) so sudo cannot open /dev/tty and block the TUI waiting for a password that can never be typed. Also wrap all goroutine notifier calls in QueueUpdateDraw for tview thread-safety.

Closes #73

Detach brew subprocesses from the controlling terminal (Setsid) so
sudo cannot open /dev/tty and block the TUI waiting for a password
that can never be typed. Also wrap all goroutine notifier calls in
QueueUpdateDraw for tview thread-safety.

Closes #73

Signed-off-by: Vito Castellano <castellano.vito@gmail.com>
@Valkyrie00 Valkyrie00 added the enhancement New feature or request label Jul 6, 2026
@Valkyrie00
Valkyrie00 merged commit 838fc31 into main Jul 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] removal with request for a password makes app sluggish/unresponsive.

1 participant