-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Color Blocks shifting when using powerline enabled fonts #3085
Comments
Temporary fix:save this script: #!/bin/bash -e
# Replace the powerline font with the Consolas font
function shutdown {
sed -i '/"fontFace" : "YOUR_CUSTOM_FONT",/c\"fontFace" : "Consolas",' /mnt/YOUR_CUSTOM_PATH/profiles.json
}
trap shutdown EXIT #Execute function shutdown when terminal exits
#Start Tmux (change to bash/zsh/...)
tmux And change the Then add This way the font will be loaded after your shell is loaded and changed to the default before exit when closing Windows Terminal. |
This fix unfortunately requires a tmux session running in the background |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Environment
Steps to reproduce
Install tmux or zsh and install a theme with color blocks (e.g. bullet-train theme) and configure a powerline-font in Windows Terminal.
Expected behavior
Font used for startup does not matter.
Actual behavior
If you start zsh/tmux with a Powerline font, all color blocks are shifted slighty:
If you start with a non-powerline font (e.g. Consolas) the blocks are the correct position:
Applying the powerline font after startup works as it should:
Using WSL without the Terminal App works (excpept lacking Emoji support)
The text was updated successfully, but these errors were encountered: