Comments (7)
from tmux-gitbar.
I was in the same situation. What I did was that I first installed consoles-font-powerline, which as @davidhatten said did not fix the issue.
Then I went to the .tmux-gitbar/lib/tmux-gitbar.sh
directory and verified there that the characters were unreadable. So I decided to copy those characters variables on my .tmux-gitbar.conf
and replace the characters as needed. For some reason, even having the fonts installed and/or copy-pasting the characters from the file here on the repository (where the fonts are readable correctly) it does not display well on Windows.
So, open the Character Map
app on Windows, and select Powerline Consolas
, search over there whatever character you want to use, I did not find some of the ones I see here in the default file but I did not search that much I'm in a hurry. Select the character and then go to your .tmux-gitbar.conf
and change it there. This is part of my config now:
BRANCH_SYMBOL=" "
STAGED_SYMBOL="●"
CONFLICT_SYMBOL="х"
CHANGED_SYMBOL="[+]"
UNTRACKED_SYMBOL="..."
STASHED_SYMBOL=""
CLEAN_SYMBOL="√"
AHEAD_SYMBOL="↑·"
BEHIND_SYMBOL="↓·"
PREHASH_SYMBOL=":"
And here is the Character Map app in action:
Regards,
A.J.
from tmux-gitbar.
Hi David,
thanks for reporting. Actually I never tried tmux-gitbar on Windows.
I can see 2 ways to solve your problem:
-
Find a font in which the missing symbols are defined. I point you to the Font section of tmux-gibar documentation
-
You can easily replace the problematic symbols with other symbols, for that check out the Symbols section of the doc. All default symbols can be redefined in your tmux-gitbar configuration file, find the complete list in
./lib/tmux-gitbar.sh
from tmux-gitbar.
I'll see about getting Consolas Powerline installed, if that's applicable in my case.
Are you familiar with the Linux Subsystem/Bash on Ubuntu on Windows framework? It's not entirely correct to say that this is running on Windows, but nor is it entirely wrong to say that. It may exist on Windows, but it is 100% a bash terminal that reads from ~/.bashrc
at runtime. It's some crazy magic that's probably contributing to whatever issue is happening here. I'll dig around.
from tmux-gitbar.
Using the referenced Consolas Powerline in the Fonts section results in the same artifacts as Consolas.
It seems like this is happening with every font. There's probably something deeper going on, and the issue is likely with Bash on Ubuntu on Windows and not with your library.
from tmux-gitbar.
from tmux-gitbar.
Hey @davidhatten
Did you find a solution/workaround?
from tmux-gitbar.
Related Issues (20)
- How does tmux-gitbar would take advantage of tmux v2.3 HOT 2
- Takes no effect after installation HOT 1
- tmux-gitbar.conf needs to exist outside the repo HOT 6
- Tmux 2.3 problem HOT 15
- Show when a rebase, bisect, am is in progress? HOT 3
- Gitbar is squashed in to rightmost 14 characters HOT 3
- Add length limitation on the branch+remote string, or the whole bar
- No bar on tmux 2.1. HOT 12
- Problem when on a tag in detached state
- Some errors occur when update-gitbar called in the initial git directory HOT 3
- Garbage output in freshly created repo with 0 commits
- unknown option: status-right-style HOT 5
- Bug when reading a newly created repo HOT 8
- Still read Git status when .tmgbignore
- Does not work in zsh HOT 5
- Doesn’t work with ZSH HOT 6
- Git status bar not showing automatically HOT 7
- Git information not showing up after reloading tmux config HOT 6
- Still having zsh issue HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tmux-gitbar.