X-Git-Url: http://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=ncurses%2Fbase%2Flib_getstr.c;fp=ncurses%2Flib_getstr.c;h=485c6e35c8ff3679ea24cbe43597f214c7c4d98b;hb=0eb88fc5281804773e2a0c7a488a4452463535ce;hp=33a637ed65610e29e1e2fba1c09bf4f027956821;hpb=661078ddbde3ce0f3b06e95642fbb9b5fef7dca1;p=ncurses.git diff --git a/ncurses/lib_getstr.c b/ncurses/base/lib_getstr.c similarity index 97% rename from ncurses/lib_getstr.c rename to ncurses/base/lib_getstr.c index 33a637ed..485c6e35 100644 --- a/ncurses/lib_getstr.c +++ b/ncurses/base/lib_getstr.c @@ -42,7 +42,7 @@ #include #include -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)