-
Notifications
You must be signed in to change notification settings - Fork 99
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
Using Control Characters resets the cursor #63
Comments
Has occurred while jumping between panes as well in tmux |
I use tmux on all my systems and do not see this. can you post the results of |
Let me hop back in, sure. I will say that I had edited the battery segment to only show the percentage if it was not '100' and the problem totally went away. I'm wondering if reading the battery file might have a character that wasn't ignored by the PS1 or something?. Github wasn't letting me upload pictures otherwise I'd upload a photo to support. I may use another browser and try again as well. I'll go grab env now. |
This is on Cent7
|
Obviously I reinserted the battery segment to reintroduce the issue.. |
EDIT --- I got my charge/discharge symbols reversed, Fixed them in this edit After poking more, it appears the problem is the battery DIScharging symbol. The charging symbol gives me no grief in tmux, but the discharging symbol does it. When this issue occurs, there are characters in the terminal that do not actually appear, making the commands incorrect by a character, painful for syntactically dense commands like sed and such... |
To complete my current situation here's my battery segment
Perhaps later I can look more into what the discharging character really is and how it might affect the PS1... Were you able to see this issue as well? |
I see you have managed to track down the problem to your battery discharge symbol?I haven't been able to recreate the problem as I use the default symbols. Looks like this isn't really a PureLine problem, but I'll leave the issue open to see if we can find a way to solve it. |
An addendum to the initial concern: This only seems to occur within tmux
using Ctrl+L to reset the terminal resets the cursor location back one space
using Ctrl+U to clear the terminal line up to the PS1 does the same thing
The text was updated successfully, but these errors were encountered: