mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-20 03:51:07 +02:00
23982: documentation for zcurses -A.
This commit is contained in:
parent
1dfd870aa1
commit
4138a4c24c
2 changed files with 10 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue