summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Doc/Zsh/mod_curses.yo9
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2edae11e4..74ca80143 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-10-17  Clint Adams  <clint@zsh.org>
 
+	* 23982: Doc/Zsh/mod_curses.yo: documentation for zcurses -A.
+
 	* 23981: Src/Modules/curses.c: add zcurses -A to set window
 	attributes.
 
diff --git a/Doc/Zsh/mod_curses.yo b/Doc/Zsh/mod_curses.yo
index f2b442e98..8243c1ee2 100644
--- a/Doc/Zsh/mod_curses.yo
+++ b/Doc/Zsh/mod_curses.yo
@@ -14,7 +14,8 @@ xitem(tt(zcurses) tt(-r) [ var(targetwin) ] )
 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 @@ Outputting characters and strings are achieved by tt(-c) and tt(-s)
 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()