summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0031f08)
raw | patch | inline | side by side (parent: 0031f08)
author | Max Kellermann <max@duempel.org> | |
Wed, 30 Sep 2009 14:30:15 +0000 (16:30 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Wed, 30 Sep 2009 14:30:15 +0000 (16:30 +0200) |
src/screen_utils.c | patch | blob | history | |
src/screen_utils.h | patch | blob | history |
diff --git a/src/screen_utils.c b/src/screen_utils.c
index 9b70369fc60a9257ffdb8bcff05bb00d637123fb..3c9ccfe9cbe6e6b800c07cb93261f22d9918b42d 100644 (file)
--- a/src/screen_utils.c
+++ b/src/screen_utils.c
return line;
}
-char *
-screen_getstr(WINDOW *w, const char *prompt)
-{
- return screen_readln(w, prompt, NULL, NULL, NULL);
-}
-
char *
screen_read_password(WINDOW *w, const char *prompt)
{
diff --git a/src/screen_utils.h b/src/screen_utils.h
index c87827339abc2d405408188015780d98c77e5dad..5b133fcec5387986a803169d90e4bef185aadb31 100644 (file)
--- a/src/screen_utils.h
+++ b/src/screen_utils.h
/* read a character from the status window */
int screen_getch(WINDOW *w, const char *prompt);
-/* read a string from the status window */
-char *screen_getstr(WINDOW *w, const char *prompt);
-
char *
screen_read_password(WINDOW *w, const char *prompt);
char *screen_readln(WINDOW *w, const char *prompt, const char *value,
GList **history, GCompletion *gcmp);
-char *screen_readln_masked(WINDOW *w, const char *prompt);
-char *screen_read_pasword(WINDOW *w, const char *prompt);
+
/* query user for a string and find it in a list window */
int screen_find(struct list_window *lw,
int rows,