|
|
|
|
|
by alsuren
987 days ago
|
|
This sounds like a really good pattern, and something that deserves to become a modern standard (like https://no-color.org/). I feel like this should be made opt in somehow. If you are a noninteractive process and stdin is a tty then you probably shouldn't be swallowing input. I frequently blind-type the next command while a long running command is active, because well behaved noninteractive programs don't swallow input from stdin. |
|