Closed YongHee-Kim closed 1 year ago
Something must have changed in Julia for Windows. I don’t have a Windows machine to test though. If you can, can you share the output of @show stdin stdout
on Windows, with Julia v1.5 or Julia v1.6?
It's same for 1.5 and 1.6, but I vaguely remmber that stdin
stdot
was subtype of IO
too
julia> supertype(Base.TTY)
Base.LibuvStream
julia> supertype(Base.Libc.WindowsRawSocket)
Any
``
I made a new release v0.3.0
https://github.com/kdheepak/TerminalUserInterfaces.jl/releases/tag/v0.3.0
This uses Crossterm.jl instead of Termios.jl, which should work on Windows, Mac and Linux.
https://github.com/kdheepak/TerminalUserInterfaces.jl/blob/6061a012c8f94577c48961f171d2a0a27e44573d/src/utils.jl#L198
both
stdin
andstdout
were not IO type.I'm on Julia 1.7.1 and here is my full
versioninfo()