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
Right now it appears like go-prompt only works with STDIN. In order to run it on a console port, I currently use SystemD to perform STDIN redirection and a few other hacks (set windows size etc.). I think I could replace systemd with syscall.Dup2 but I don't have time to experiment much more.
Feature Request
Right now it appears like
go-prompt
only works with STDIN. In order to run it on a console port, I currently use SystemD to perform STDIN redirection and a few other hacks (set windows size etc.). I think I could replace systemd withsyscall.Dup2
but I don't have time to experiment much more.Anyhow if you can confirm that:
TTY *os.File
parameter toOptions
would be a good way forgo-prompt
to accept an external TTYthen I'll work on a PR
The text was updated successfully, but these errors were encountered: