Fix silent display failure on Windows by replacing /dev/tty with stdout fallback #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kahliburke/Tachikoma.jl!2
Loading…
Reference in a new issue
No description provided.
Delete branch "copilot/fix-example-windows-display"
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?
with_terminalunconditionally opened/dev/ttywhich doesn't exist on Windows, causing apps to run (consuming CPU) but produce no output.Changes
src/terminal.jl—with_terminal/dev/ttyopen with a conditional: use providedtty_outif given, fall back tostdouton Windows, otherwise open/dev/tty(unchanged Unix behavior)finallyclose to skipstdout(tty_io !== stdout && ...) to avoid closing the global stream on WindowsOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.