-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
% (percent sign) showing up while using oh-my-zsh #2144
Comments
This is du to the session shell invoking. Since we print the window before creating the required IPC connectors. |
Can't this be cleared at start for first tab? |
Actually no. It buffer your input and emit it once it's ready. If you type before it's complete you will have the |
No, I am saying can Hyper detect that zsh is ready? Once it detects that, it clears the terminal. |
Don't know how but VS Code's terminal is able to handle it |
VS Code uses |
adding this |
That's a good workaround, but I think we should fix the issue so that hyper handles the row correctly |
@albinekb I'm not using Hyper at present. Is this issue resolved in Hyper 2.0? |
yes, fixed in v2 🎉 @ajitid |
The issue is back in version 3.0.0. |
The issue is back in version 3.0.0 but adding |
I've added |
This helped me understand the problem. https://unix.stackexchange.com/a/167600 |
version 3.0.2 same problem. 😟 # .zshrc
# fix Hyper first line precent sign
unsetopt PROMPT_SP |
Can also confirm that it was fixed in Using the workaround |
This is not a fix, just a workaround |
I'm currently seeing this issue in |
I think its caused by an applications stdout piping without a finish line.. .... in other words.. doing echo -n text will print 'text%' if you perform unset PROMPT_SP then you will never see the hi or text partI just finished reading the links and this page explains it perfectly... If you use this configuration you will keep your lines, and get rid of the character. The character was meant to be a feature... setopt PROMPT_CR |
Why is this closed? Is there a fix (not workaround)? |
@rafael-paiva This was a version 2 bug; a new thread was created for the new v3 bug: #3586 😀 |
Thanks for the |
It doesn't happen in the canary 3.1.0 |
I'm having this problem on the latest commits, since today. unsetopt PROMPT_SP does not fix the problem |
I started seeing this recently, too. I switched to the canary channel, and it doesn't show up, but as soon as I start typing I lose my prompt and all the terminal text is invisible, so I switched back to stable. |
another workaround is adding "clear" to zshrc, but might cause issues if u wanna see session restoration and welcome messeges. |
OS: Ubuntu 17.04
It happens only for first tab opened in hyper.
The text was updated successfully, but these errors were encountered: