Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Color Support #144

Open
nsallis opened this issue Feb 28, 2019 · 0 comments
Open

Color Support #144

nsallis opened this issue Feb 28, 2019 · 0 comments

Comments

@nsallis
Copy link

nsallis commented Feb 28, 2019

I'm building a git tui, and want to work with both git diff, and statuses. To this end, I'd like to use ANSI color codes in strings that I use in TextEditor, and List tui components. However, I find that no colors show up, even when they do show up if I simply fmt.Println the string in my terminal. Is there a way to turn support for this on? Is there another (better?) way to use colors within strings in these components? If support doesn't exist, why (maybe I could work on a PR for support)?

Here's a good reference on ANSI colors which I think are pretty standard in unix terminals: http://jafrog.com/2013/11/23/colors-in-terminal.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant