irontec / sngrep

Ncurses SIP Messages flow viewer
GNU General Public License v3.0
1k stars 189 forks source link

Question: Is there a way to theme sngrep? #435

Open Janik-Haag opened 1 year ago

Janik-Haag commented 1 year ago

I was wondering if there is a way to theme sngrep because the cyan is quite hard to read in my terminal. I couldn't find anything in the faq and the config section, that's why I opend this issue.

Kaian commented 1 year ago

Hi @Janik-Haag

Sadly there is no configuration that can be done to change colors. They are initialized in the code, so you can change COLOR_CYAN for other ncurses color here if you're willing to use a compiled version.

https://github.com/irontec/sngrep/blob/ae8e0a4472f5a22d1871ae49e8903dd3588b79cd/src/curses/ui_manager.c#L126-L143

Regards!

Janik-Haag commented 1 year ago

Would you accept a PR making this configurable? Then I might spend some time on this ^^

Kaian commented 1 year ago

Sure, PRs are always welcome! Even more when makes things more configurable!