Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: curses tweaks, maybe
- X-seq: zsh-workers 23982
- From: Clint Adams <clint@xxxxxxx>
- To: Zsh Hackers' List <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: curses tweaks, maybe
- Date: Wed, 17 Oct 2007 15:19:04 -0400
- In-reply-to: <20071017185827.GA6074@xxxxxxxxxxx>
- Mail-followup-to: Zsh Hackers' List <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20071016094040.4a48a750@news01> <20071017032955.GA25480@xxxxxxxxxxx> <20071017095724.44acafe1@news01> <200710170914.l9H9Eihs021321@xxxxxxxxxxxxxx> <071017075713.ZM30525@xxxxxxxxxxxxxxxxxxxxxx> <200710171505.l9HF5i6b025009@xxxxxxxxxxxxxx> <20071017152506.GA30012@xxxxxxxxxxx> <200710171539.l9HFdKWC025510@xxxxxxxxxxxxxx> <20071017185827.GA6074@xxxxxxxxxxx>
On Wed, Oct 17, 2007 at 02:58:27PM -0400, Clint Adams wrote:
> zcurses -A tw +bold +underline
Some possibly-unclear docs to match.
Index: Doc/Zsh/mod_curses.yo
===================================================================
RCS file: /cvsroot/zsh/zsh/Doc/Zsh/mod_curses.yo,v
retrieving revision 1.5
diff -u -r1.5 mod_curses.yo
--- Doc/Zsh/mod_curses.yo 17 Oct 2007 13:11:11 -0000 1.5
+++ Doc/Zsh/mod_curses.yo 17 Oct 2007 19:17:43 -0000
@@ -14,7 +14,8 @@
xitem(tt(zcurses) tt(-m) var(targetwin) var(new_y) var(new_x) )
xitem(tt(zcurses) tt(-c) var(targetwin) var(character) )
xitem(tt(zcurses) tt(-s) var(targetwin) var(string) )
-item(tt(zcurses) tt(-b) var(targetwin) var(border) )(
+xitem(tt(zcurses) tt(-b) var(targetwin) var(border) )(
+item(tt(zcurses) tt(-A) var(targetwin) var({+/-}attribute) [var({+/-}attribute)] [...])(
Manipulate curses windows. All uses of this command should be
bracketed by `tt(zcurses -i)' to initialise use of curses, and
`tt(zcurses -e)' to end it; omitting `tt(zcurses -e)' can cause
@@ -39,5 +40,11 @@
respectively.
To draw a border around window var(targetwin), use tt(-b).
+
+tt(-A) will set var(targetwin)'s attributes for any successive character
+output. Each var(attribute) given on the line should be prepended by a
+tt(+) to set or a tt(-) to unset that attribute. The attributes supported
+are tt(blink), tt(bold), tt(dim), tt(reverse), tt(standout), and
+tt(underline).
)
enditem()
Messages sorted by:
Reverse Date,
Date,
Thread,
Author