diff options
| author | jdc <jdc@NetBSD.org> | 2000-04-27 00:28:28 +0000 |
|---|---|---|
| committer | jdc <jdc@NetBSD.org> | 2000-04-27 00:28:28 +0000 |
| commit | 9eb3d5276b3a006fb33fd1497295edb60ca73cda (patch) | |
| tree | a49cc0fa2f4b2d26848227fea23b38a66d369846 /lib/libcurses | |
| parent | fbc7603df3a990b6aa364fdd838ef03ab59bc7a0 (diff) | |
Add wnoutrefresh() and doupdate().
Diffstat (limited to 'lib/libcurses')
| -rw-r--r-- | lib/libcurses/PSD.doc/fns.doc | 13 | ||||
| -rw-r--r-- | lib/libcurses/curses.3 | 6 |
2 files changed, 18 insertions, 1 deletions
diff --git a/lib/libcurses/PSD.doc/fns.doc b/lib/libcurses/PSD.doc/fns.doc index 581c43e8017..71be5244ae1 100644 --- a/lib/libcurses/PSD.doc/fns.doc +++ b/lib/libcurses/PSD.doc/fns.doc @@ -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 diff --git a/lib/libcurses/curses.3 b/lib/libcurses/curses.3 index a5236c2b500..8ceee173d44 100644 --- a/lib/libcurses/curses.3 +++ b/lib/libcurses/curses.3 @@ -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 |
