odb/shml

Controlling the Prompt with not-printable sequences.

drm343 opened this issue · 2 comments

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.

2019-01-25 15-34-02

This bug appear because non-printable sequences. I fix this after add "\[" and "\]" in fgcolor and bgcolor.

2019-01-25 15-34-17

Further reading:

PR
#51

Thank you for the detailed issue. I commented on #51

Okay this makes it much clearer. Thank you for the expanded explanation.