No Colors in Windows (git-bash) / No option to enable colors
See original GitHub issueI am new to this package , so i might not know something
I was using this lib on windows and tried changing styles but this is not showing my err styles.
code:
import numpy
import stackprinter
def dangerous_function(blub):
return sorted(blub, key=lambda xs: sum(xs))
try:
somelist = [[1,2], [3,4]]
anotherlist = [['5', 6]]
spam = numpy.zeros((3,3))
dangerous_function(somelist + anotherlist)
except:
stackprinter.show(style='darkbg', source_lines=4)
is there anything is need in order to get colors working on windows.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
git - (Windows 10) GitBash not formatting colors - can't find ...
Try using your git commands in a CMD instead of a git bash . By adding to your %PATH% the <path/to/git>\usr\bin folder, you...
Read more >Customize Git Bash Shell Colors, Title, User, Host & Computer ...
Want to configure the git bash shell style? Do you need to style and customize the title, colors, user and computer name Git...
Read more >Colors escaping in git bash - Laracasts
Colors escaping in git bash. I have read many posts about this but no one gives me the solution, i am having a...
Read more >ANSI color escape sequences seem broken for arc in git bash ...
I installed arc on a windows box. Installing php and cloning the repositories worked fine. Also arc runs fine. However arc tries to...
Read more >Why do my vim colors in git bash on Windows not match with ...
Can someone please explain how are the colors set up in my terminal for vim? What's different about what's on the webpage vs...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks like this problem only occur when i use git-bash inside vscode . because normal gitbash can handle colours![image](https://user-images.githubusercontent.com/58904683/126056687-8a03af3a-2735-4272-b6a3-43c3684b0c08.png)
Inside vs code.
I’ll close this here for now - feel free to reopen if there is a problem with the color codes sent by stackprinter!