Closed adius closed 6 years ago
And lines 496 and 497 should be reversed.
stderr
: OKHave them next to the prompt sounds like a well-meant idea, but I can't think of a single program which has it in this direction. It took me several tries until I fortuitously saw the error messages at the bottom (color not available) and before that I thought: "Stupid program, why do you print the usage string. I read it already and I think I'm using it correctly." 😅
Different ways for of terminal usage for different people I guess. Printing it both at the top and bottom might be worth exploring?
If you're Ok with that, sounds good.
https://github.com/marionebl/svg-term-cli/blob/2b27a6d548a1d9673cc7fb865207235c2b8f586e/src/cli.ts#L492-L500