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

Re: PATCH: curses tweaks, maybe

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 @@
 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

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