Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: ANSI bg colour outside of prompt area



junkcommander0@xxxxxxxxx writes:

> As a workaround for now I have a little alias that switches the value
> of the background colour in st's config.h, and recompiles it. It's not
> quite the same as toggling it in the terminal I'm working in, but it's
> not terribly difficult to open a new terminal with a different
> background colour.

In xterm and urxvt, you can do

printf '\033]10;%d\a\033]11;%d\a' $fgcolor $bgcolor

-- 
Christian Neukirchen  <chneukirchen@xxxxxxxxx>  http://chneukirchen.org



Messages sorted by: Reverse Date, Date, Thread, Author