irssi-powerline icon indicating copy to clipboard operation
irssi-powerline copied to clipboard

256 colour support

Open kierun opened this issue 7 years ago • 5 comments

Is there a quick way to get solarize to use 256 colours?

kierun avatar May 05 '17 15:05 kierun

If I'm understanding Ethan Schoonover's original intent correctly, 256 colour support should be considered a second-class citizen. Either you should configure apps to use 16-colour mode and configure your terminal to render those 16 colours correctly or you should use true-colour (24-bit) mode.

As I use irssi within tmux (which doesn't support 24-bit colour), I personally won't add 24-bit colour... Actually, I suppose I can. Recent changes have harmonised the colours, so I guess I can just translate them.

Yeah. I'll add 24-bit colour. Oh, and if I'm reading the irssi manual correctly, irssi may be able to degrade the 24-bit colour to 256 colour mode, too.

darac avatar May 08 '17 20:05 darac

I use tmux as well but that works with 256 colours. Nonetheless, your efforts are much appreciated!

I tried to do it myself using some crude search-and-replace and got no where fast. ☹ Work did interrupt my hacking, how dare it⸮

kierun avatar May 09 '17 06:05 kierun

It appears that tmux now supports 24-bit colour and CHANGE logs. So YAY! ☺

kierun avatar May 09 '17 07:05 kierun

I've just pushed a new branch "truecolour" which upgrades the theme to use 24-bit colours. IRSSI should downgrade these to 256-colour.

You'll need to merge some small changes in the config file, then switch to one either solarized-powerline-dark.theme or solarized-powerline-light.theme.

Let me know if you see anything that needs work but, for me, there's not much of a visible difference between the old version (16-colour with a solarized terminal) and the new version (24-bit on either a solarized or non-solarized terminal).

darac avatar Jun 06 '17 14:06 darac

This is awesome! Many thanks indeed.

screenshot

Screen shot with urxvt, tmux, and irssi in full colourful glory ☺

kierun avatar Jun 14 '17 08:06 kierun