Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libcurses At some point we lost the text that explains t...



details:   https://anonhg.NetBSD.org/src/rev/6352dd8146e9
branches:  trunk
changeset: 447437:6352dd8146e9
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jan 11 06:14:39 2019 +0000

description:
At some point we lost the text that explains the difference between
clear() and erase(). Or possibly we never had any. Put some back.
Bump date.

diffstat:

 lib/libcurses/curses_clear.3 |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r f1c0fcc9766b -r 6352dd8146e9 lib/libcurses/curses_clear.3
--- a/lib/libcurses/curses_clear.3      Fri Jan 11 05:13:26 2019 +0000
+++ b/lib/libcurses/curses_clear.3      Fri Jan 11 06:14:39 2019 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: curses_clear.3,v 1.3 2003/04/16 13:35:00 wiz Exp $
+.\"    $NetBSD: curses_clear.3,v 1.4 2019/01/11 06:14:39 dholland Exp $
 .\"
 .\" Copyright (c) 2002
 .\"    Brett Lymn (blymn%NetBSD.org@localhost, brett_lymn%yahoo.com.au@localhost)
@@ -30,7 +30,7 @@
 .\" SUCH DAMAGE.
 .\"
 .\"
-.Dd August 12, 2002
+.Dd January 11, 2019
 .Dt CURSES_CLEAR 3
 .Os
 .Sh NAME
@@ -78,6 +78,13 @@
 .Fn erase
 functions erase all characters on
 .Dv stdscr .
+These differ in that
+.Fn clear
+uses
+.Fn clearok
+to force a complete redraw on the next refresh, and
+.Fn erase
+does not.
 .Fn wclear
 and
 .Fn werase



Home | Main Index | Thread Index | Old Index