Add wnoutrefresh() and doupdate().
This commit is contained in:
parent
fbc7603df3
commit
9eb3d5276b
@ -341,6 +341,12 @@ is relative to the origin of the parent window
|
||||
instead of being absolute screen coordinates as they are in
|
||||
.Fn subwin .
|
||||
.Ds
|
||||
.Fn doupdate ""
|
||||
.De
|
||||
Synchronize the terminal screen with the virtual screen that
|
||||
has had window contents added to it by calls to
|
||||
.Fn wnoutrefresh .
|
||||
.Ds
|
||||
.Fn dupwin "WINDOW *win"
|
||||
.De
|
||||
Creates an exact copy of the window
|
||||
@ -1223,6 +1229,13 @@ characters of the string
|
||||
are output to the current \*y position of the window specified by
|
||||
.Vn win.
|
||||
.Ds
|
||||
.Fn wnoutrefresh "WINDOW *win"
|
||||
.De
|
||||
Add the window contents to a virtual screen. Several windows can be added
|
||||
before a call to
|
||||
.Fn doupdate ,
|
||||
thus allowing the screen to updated in an efficient manner.
|
||||
.Ds
|
||||
.Fn wtouchln "WINDOW *win" "int line" "int n" "int changed"
|
||||
.De
|
||||
If
|
||||
|
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: curses.3,v 1.24 2000/04/26 12:29:47 blymn Exp $
|
||||
.\" $NetBSD: curses.3,v 1.25 2000/04/27 00:28:28 jdc Exp $
|
||||
.\"
|
||||
.\" Copyright (c) 1985, 1991, 1993
|
||||
.\" The Regents of the University of California. All rights reserved.
|
||||
@ -123,6 +123,7 @@ normal, 2 is high visibility. Returns previous value on success.
|
||||
.It derwin(win,lines,cols,begin_y,begin_x)\ create a subwindow
|
||||
relative to
|
||||
.Em win.
|
||||
.It doupdate() make current screen look like virtual screen
|
||||
.It dupwin(win) duplicate
|
||||
.Em win
|
||||
.It echo() set echo mode
|
||||
@ -314,6 +315,9 @@ on window
|
||||
.Em win
|
||||
.It wmove(win,y,x) set current (y,x) co-ordinates on
|
||||
.Em win
|
||||
.It wnoutrefresh(win) add
|
||||
.Em win
|
||||
to virtual screen
|
||||
.It wprintw(win,fmt,arg1,arg2,...)\ printf on
|
||||
.Em win
|
||||
.It wrefresh(win) make screen look like
|
||||
|
Loading…
Reference in New Issue
Block a user