nash
nash copied to clipboard
cli: prompt overwriting last line of stdout
This works:
λ> echo works
works
λ>
This doesn't:
λ> echo -n "doesn't works"
λ>
If last stdout line does not contain \n then the prompt updates the entire line (the last one).