aboutsummaryrefslogtreecommitdiff
path: root/lib/libncurses/lib_insdel.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-08-30 07:58:08 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-08-30 07:58:08 +0000
commit99af2e21c73f07587da16d34eb6795f4a46cc5be (patch)
tree5df591f7e443330146099aa76e2f474a81669ebf /lib/libncurses/lib_insdel.c
parent02e1576966f0a3b9300a7269c3e6894e62b1f3ba (diff)
downloadsrc-99af2e21c73f07587da16d34eb6795f4a46cc5be.tar.gz
src-99af2e21c73f07587da16d34eb6795f4a46cc5be.zip
Use src/contrib/ncurses, v5.0.990821 prerelease.
This isn't quite finished yet, there are still some unresolved problems with ospeed and the sgtty.h (non-posix) terminal interface. Mostly this only causes problems with src/games. The other tools and libraries (libform,libpanel,libmenu) will come shortly but are seperate. Beware, there be dragons here! (The build will be broken for a short while)
Notes
Notes: svn path=/head/; revision=50624
Diffstat (limited to 'lib/libncurses/lib_insdel.c')
-rw-r--r--lib/libncurses/lib_insdel.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/lib/libncurses/lib_insdel.c b/lib/libncurses/lib_insdel.c
deleted file mode 100644
index 8729efee8593..000000000000
--- a/lib/libncurses/lib_insdel.c
+++ /dev/null
@@ -1,31 +0,0 @@
-
-/* This work is copyrighted. See COPYRIGHT.OLD & COPYRIGHT.NEW for *
-* details. If they are missing then this copy is in violation of *
-* the copyright conditions. */
-
-/*
-** lib_insdel.c
-**
-** The routine winsdel(win, n).
-** positive n insert n lines above current line
-** negative n delete n lines starting from current line
-**
-*/
-
-#include "curses.priv.h"
-
-int
-winsdelln(WINDOW *win, int n)
-{
-int code = ERR;
-
- T(("winsdel(%x,%d) called", win, n));
-
- if (win) {
- if (n != 0) {
- _nc_scroll_window(win, -n, win->_cury, win->_maxy, _nc_background(win));
- }
- code = OK;
- }
- return code;
-}