From: Christian Neukirchen <chneukirchen@gmail.com>
To: zsh-workers@zsh.org
Subject: Re: ANSI bg colour outside of prompt area
Date: Mon, 23 Feb 2015 11:58:12 +0100 [thread overview]
Message-ID: <87fv9wuc6z.fsf@gmail.com> (raw)
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")
junkcommander0@gmail.com 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@gmail.com> http://chneukirchen.org
next parent reply other threads:[~2015-02-23 11:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150222132310.GA18377@wintermute>
[not found] ` <150222111007.ZM18687@torch.brasslantern.com>
[not found] ` <20150222200735.GA14096__25621.2553395473$1424635776$gmane$org@wintermute>
2015-02-23 10:58 ` Christian Neukirchen [this message]
2015-02-23 16:47 ` Bart Schaefer
2015-02-23 16:55 ` Ray Andrews
2015-02-23 17:14 ` ZyX
2015-02-23 18:05 ` Ray Andrews
2015-02-23 20:49 ` Christian Neukirchen
2015-02-23 21:20 ` ZyX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fv9wuc6z.fsf@gmail.com \
--to=chneukirchen@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).