Closed johnd0e closed 7 months ago
Exact commands?
e.g.
pytgpt generate -s
I hope everything good now?
I hope everything good now?
Well, taking prompt from stdin would be very useful for Windows too..
The approach implemented seems to be limited to *nix systems. If there will be one for Windows; shall be implemented as well. Until then, let's utilize the available workarounds.
The approach implemented seems to be limited to *nix systems.
Besides of signals usage, it is pretty the same.
And then instead of relying on TimeoutError
we can use sys.stdin.isatty()
.
Submit that PR folk.
Windows Command line without prompt