diff options
author | Guy Maor <maor@debian.org> | 1999-01-29 08:53:59 +0000 |
---|---|---|
committer | Guy Maor <maor@debian.org> | 1999-01-29 08:53:59 +0000 |
commit | 144d63847622fb578b306a18d1e848b240771f64 (patch) | |
tree | ed6bf749e61d8c1aa39aef81e6767bbf0cbc5f43 /dselect/basecmds.cc | |
parent | 026b9db8830c1cebfda297cd9fdb22d5aa60dea3 (diff) | |
download | dpkg-144d63847622fb578b306a18d1e848b240771f64.tar.gz |
dpkg 1.4.1
Diffstat (limited to 'dselect/basecmds.cc')
-rw-r--r-- | dselect/basecmds.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/dselect/basecmds.cc b/dselect/basecmds.cc index 85d2d7f96..e113fbbe6 100644 --- a/dselect/basecmds.cc +++ b/dselect/basecmds.cc @@ -21,14 +21,14 @@ #include <stdio.h> #include <string.h> -#include <ncurses.h> +#include <curses.h> #include <assert.h> #include <signal.h> extern "C" { -#include "config.h" -#include "dpkg.h" -#include "dpkg-db.h" +#include <config.h> +#include <dpkg.h> +#include <dpkg-db.h> } #include "dselect.h" #include "helpmsgs.h" @@ -97,11 +97,12 @@ void baselist::kd_searchagain() { void baselist::kd_search() { werase(querywin); mvwaddstr(querywin,0,0, "Search for ? "); - echo(); + echo(); /* fixme: ncurses documentation or implementation */ /* fixme: make / RET do `search again' and / DEL to abort */ if (wgetnstr(querywin,searchstring,sizeof(searchstring)-1) == ERR) searchstring[0]= 0; - noecho(); + raise(SIGWINCH); /* fixme: ncurses and xterm arrow keys */ + noecho(); /* fixme: ncurses */ if (whatinfo_height) { touchwin(whatinfowin); refreshinfo(); } else if (info_height) { touchwin(infopad); refreshinfo(); } else if (thisstate_height) redrawthisstate(); |