Skip to content

Controlling the Prompt with not-printable sequences. #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
drm343 opened this issue Jan 25, 2019 · 2 comments
Closed

Controlling the Prompt with not-printable sequences. #50

drm343 opened this issue Jan 25, 2019 · 2 comments
Assignees

Comments

@drm343
Copy link

drm343 commented Jan 25, 2019

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

@jdorfman
Copy link
Member

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

@jdorfman jdorfman self-assigned this Jan 25, 2019
@jmervine
Copy link
Member

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

@drm343 drm343 closed this as completed Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants