-
Notifications
You must be signed in to change notification settings - Fork 821
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
Progress bar rendering new lines when using Hack typeface #1936
Comments
I've seen this with most of the fonts available by default in console settings - which ones work? As a temporary workaround with yarn 0.23, you can add See also yarnpkg/yarn#2530 |
Did some testing, seems fine in most fonts actually, just broken in the ones I like 😄 |
Thank you @simonbuchan. Hopefully, there's a solution from the Windows console team soon, as I am assuming at this stage that the issue lies there? |
@simonbuchan This looks like it's the same as #1879, but more specifically it's the bug in #1907. Basically, for some fonts, we can't get the size of all unicode characters correctly, and that can lead so strange rendering issues. Just as an example, running tmux and trying to make a vertical split ( I'll leave this open as one extra node in the large graph of issues related to that bug. I don't think we have a fix planned for that anytime soon, it's a pretty tricky bug that one is. |
Thansk @zadjii-msft. Is there any way to prioritise this issue? I know it seems small, but these sorts of things are always the 'little cuts' that can make adoption a little more painful. I'm loving using Bash on Windows on a daily basis instead of Bash on macOS, and I'm championing it with co-workers - and these (theming, styling) are the features they often ask about first. |
Just to mention here this a special case of the general bug as it causes a line-wrap that the escape codes don't know about, which implies the rendered line-wraps and the internal line-wraps (not to be confused with logical, unwrapped lines) are being computed differently. |
Are there any powerline fonts that work perfectly with tmux? Lucida Console works great but its missing many characters that most themes use. |
This issue was moved to microsoft/terminal#115 |
A brief description
When running
yarn install
I'm seeing a new line for each update to the progress bar. This only happens when I'm not using a default Windows font (I'm using Hack).Expected results
The progress bar should stay on one line.
Actual results (with terminal output if applicable)
Your Windows build number
1703 / 15063.138 (clean install)
Steps to reproduce the error
I use this script, in a .reg.
Then run
yarn install
Obviously I could just not use a custom typeface/font, but that affects my bash usage (there are symbols that default Windows typefaces can't render).
I'm using Hack in this instance, I haven't extensively tested other non-standard fonts. https://github.com/chrissimpkins/hack
This may be related to source-foundry/Hack#246. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: