You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permission prompt doesn't wait for user input — readline raw mode conflict #334
Permission prompt shows Allow? [y/n/a] but immediately proceeds to execute the tool without waiting for user input. The /dev/tty read fails because readline has the terminal in raw mode — bufio.Scanner can't read a line when there are no line endings in raw mode.
Root Cause
readline puts the terminal in raw mode. Opening /dev/tty gives access to the same terminal, but in raw mode individual keystrokes don't produce lines — bufio.Scanner.Scan() returns immediately.
Fix
Need to either:
Temporarily restore cooked mode via termios before reading, or
Activity
ceverson70 commentedon Mar 30, 2026
Fixed in 36fb6d4
Fix Ctrl-C during LLM call + permission prompt stdin conflict (#334)
Fix 3 UAT bugs: permission prompt, training data output, duplicate ba…
Fix readline EOF: tcflush stdin before each Readline() call (#334)