Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ANSI bg colour outside of prompt area
- X-seq: zsh-workers 34609
- From: Christian Neukirchen <chneukirchen@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: ANSI bg colour outside of prompt area
- Date: Mon, 23 Feb 2015 11:58:12 +0100
- In-reply-to: <20150222200735.GA14096__25621.2553395473$1424635776$gmane$org@wintermute> (junkcommander0@gmail.com's message of "Sun, 22 Feb 2015 15:07:35 -0500")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150222132310.GA18377@wintermute> <150222111007.ZM18687@torch.brasslantern.com> <20150222200735.GA14096__25621.2553395473$1424635776$gmane$org@wintermute>
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