nash icon indicating copy to clipboard operation
nash copied to clipboard

cli: prompt overwriting last line of stdout

Open i4ki opened this issue 7 years ago • 0 comments

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

i4ki avatar Mar 06 '17 23:03 i4ki