madlambda/nash

cli: prompt overwriting last line of stdout

i4ki opened this issue · 0 comments

i4ki commented

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).