mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix curses clear() usage.
This commit is contained in:
parent
a035d72c61
commit
1070a9f5d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34720
7
vietnamese/vnless/files/patch-funcs.h
Normal file
7
vietnamese/vnless/files/patch-funcs.h
Normal file
@ -0,0 +1,7 @@
|
||||
--- funcs.h.orig Mon Feb 24 12:45:37 1992
|
||||
+++ funcs.h Sat May 20 01:41:19 2000
|
||||
@@ -54,3 +54,3 @@
|
||||
public void vbell ();
|
||||
- public void clear ();
|
||||
+ public void clearscr ();
|
||||
public void clear_eol ();
|
38
vietnamese/vnless/files/patch-prim.c
Normal file
38
vietnamese/vnless/files/patch-prim.c
Normal file
@ -0,0 +1,38 @@
|
||||
--- prim.c.orig Mon Feb 24 12:45:40 1992
|
||||
+++ prim.c Sat May 20 01:42:18 2000
|
||||
@@ -110,7 +110,7 @@
|
||||
* but we don't yet know if that will happen. }}
|
||||
*/
|
||||
if (top_scroll == 2)
|
||||
- clear();
|
||||
+ clearscr();
|
||||
home();
|
||||
force = 1;
|
||||
} else
|
||||
@@ -132,7 +132,7 @@
|
||||
if (top_scroll)
|
||||
{
|
||||
if (top_scroll == 2)
|
||||
- clear();
|
||||
+ clearscr();
|
||||
home();
|
||||
} else if (!first_time)
|
||||
{
|
||||
@@ -352,7 +352,7 @@
|
||||
}
|
||||
lastmark();
|
||||
pos = ch_tell();
|
||||
- clear();
|
||||
+ clearscr();
|
||||
pos_clear();
|
||||
add_back_pos(pos);
|
||||
back(sc_height - 1, pos, 0, 0);
|
||||
@@ -503,7 +503,7 @@
|
||||
* More than a screenful back.
|
||||
*/
|
||||
lastmark();
|
||||
- clear();
|
||||
+ clearscr();
|
||||
pos_clear();
|
||||
add_back_pos(npos);
|
||||
}
|
9
vietnamese/vnless/files/patch-screen.c
Normal file
9
vietnamese/vnless/files/patch-screen.c
Normal file
@ -0,0 +1,9 @@
|
||||
--- screen.c.orig Mon Feb 24 12:45:41 1992
|
||||
+++ screen.c Sat May 20 01:40:56 2000
|
||||
@@ -481,5 +481,5 @@
|
||||
*/
|
||||
public void
|
||||
-clear()
|
||||
+clearscr()
|
||||
{
|
||||
tputs(sc_clear, sc_height, putchr);
|
Loading…
Reference in New Issue
Block a user