Commit Graph

2 Commits

Author SHA1 Message Date
timmy
0aad9c9c55 fix(common.sh): use tty open test instead of -r for no-TTY detection
macOS /dev/tty passes -r check even when unusable in non-TTY sessions;
replace with `true < /dev/tty` probe so confirm_destructive and
confirm_exact_match correctly detect missing TTY and emit the expected
error message instead of crashing with "Device not configured".
2026-04-21 13:16:12 +08:00
timmy
faee15bc78 Initial commit
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 13:04:09 +08:00