Controlling the Prompt with not-printable sequences.
drm343 opened this issue · 2 comments
drm343 commented
My bash prompt work incorrect when use shml.
If prompt line too long, then text will overwrite the screen of current line and hard to see.
This bug appear because non-printable sequences. I fix this after add "\[" and "\]" in fgcolor and bgcolor.
Further reading:
PR
#51
jmervine commented
Okay this makes it much clearer. Thank you for the expanded explanation.