4 ms·
I do not like this feature. How can you distinguish the output of a program that outputs a newline from one that doesn't? This is intentional obfuscation. If
by enriquto 6y ago
I do not like this feature. How can you distinguish the output of a program that outputs a newline from one that doesn't? This is intentional obfuscation. If you are bothered from where your prompt starts, add a newline at the beginning of your prompt.
- Rogach 6y agoThere is a "missing linefeed indicator" symbol (usually %) that is output if there is no trailing newline. So the output of the program that outputs a newline looks like: $ program output $ And output of the program without trailing newline: $ program output% $ There is an issue if the program is expected to output "%" at the end, of course.
- maddyboo 6y agoTo make it a bit easier to distinguish, zsh seems to display the indicator with inverted fg/bg colors.