Skip to content
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

My terminal doesn't like "●" #3

Closed
dakotahawkins opened this issue Oct 1, 2019 · 3 comments
Closed

My terminal doesn't like "●" #3

dakotahawkins opened this issue Oct 1, 2019 · 3 comments

Comments

@dakotahawkins
Copy link

$ cherchord Emaj -f 4
found 140 unique fingerings for the chord Emaj ([E,Ab,B])
printing out 140 of them...

E A D G B E   E A D G B E   E A D G B E
0 2 2 1 0 0   0 2 2 1 0 4   0 2 2 4 0 0
- - - - - -   - - - - - -   - - - - - -
| | | cherchord.exe: <stdout>: commitBuffer: invalid argument (invalid character)

This is using the Git for Windows bash, but it might be worthwhile in any case to try to detect support or use a different character (tested with o, that works fine and looks worse-but-not-awful).

@DataKinds
Copy link
Owner

Are you using this through the command prompt or through the fancy new WSL beta terminal?

@dakotahawkins
Copy link
Author

dakotahawkins commented Oct 1, 2019

Neither, exactly, though I assume there are other real terminals that don't support unicode.

Edit: The terminal is based on msys2 which is based on cygwin, and it comes with what you get when you install "Git for Windows". I'm actually using that through a different terminal utility but was able to reproduce it in the regular one, so I didn't want to confuse the issue.

I found a way to detect support for unicode but my knowledge of Haskell is super limited so I didn't get it working.

@DataKinds
Copy link
Owner

Decided to fix this by dropping the fancy symbol and using a lowercase "o". Keeping it old school. 76e749e

@DataKinds DataKinds mentioned this issue Jan 27, 2023
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants