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
When just using the command 'gay' alone, with specific flag arguments (when you call without -f), with colour arguments, and with interpolation arguments the command will hang indefinitely. I know its not the correct use but having something to error it out, or have it randomly print a flag, would be beneficial.
Any combination of those arguments used without -f or a input command, such as 'foo | gay' will hang until user presses ctrl+c.
*btw I love this so much, thank you <3
The text was updated successfully, but these errors were encountered:
This is actually an intended behaviour, I kept it so to keep it consistent with unix utilities like cat or tee.
I could intheory address it fairly easily by detecting if stdin is tty, then I can printout an error message, but I don't know if that is actually less confusing, because it would certainly be unexpected behaviour out of line with almost every single unix command that reads input streams.
I am not one of those people who take the unix tradition as gospel, so I am open to changing this if more people complain.
When just using the command 'gay' alone, with specific flag arguments (when you call without -f), with colour arguments, and with interpolation arguments the command will hang indefinitely. I know its not the correct use but having something to error it out, or have it randomly print a flag, would be beneficial.
Any combination of those arguments used without -f or a input command, such as 'foo | gay' will hang until user presses ctrl+c.
*btw I love this so much, thank you <3
The text was updated successfully, but these errors were encountered: