]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/base/lib_getstr.c
ncurses 5.0
[ncurses.git] / ncurses / base / lib_getstr.c
similarity index 97%
rename from ncurses/lib_getstr.c
rename to ncurses/base/lib_getstr.c
index 33a637ed65610e29e1e2fba1c09bf4f027956821..485c6e35c8ff3679ea24cbe43597f214c7c4d98b 100644 (file)
@@ -42,7 +42,7 @@
 #include <curses.priv.h>
 #include <term.h>
 
-MODULE_ID("$Id: lib_getstr.c,v 1.19 1998/02/11 12:13:53 tom Exp $")
+MODULE_ID("$Id: lib_getstr.c,v 1.20 1998/12/20 00:16:01 tom Exp $")
 
 /*
  * This wipes out the last character, no matter whether it was a tab, control
@@ -84,7 +84,7 @@ int   y, x;
        if (!win)
          returnCode(ERR);
 
-       _nc_get_curterm(&buf);
+       _nc_get_tty_mode(&buf);
 
        oldnl = SP->_nl;
        oldecho = SP->_echo;
@@ -180,7 +180,7 @@ int y, x;
        SP->_raw = oldraw;
        SP->_cbreak = oldcbreak;
 
-       _nc_set_curterm(&buf);
+       _nc_set_tty_mode(&buf);
 
        *str = '\0';
        if (ch == ERR)