]> git.deb.at Git - pkg/abook.git/blobdiff - ui.h
initial readline support
[pkg/abook.git] / ui.h
diff --git a/ui.h b/ui.h
index e312abd1d294bf813c8aab76940e236c4aea0f4f..da7cdfa05f0db211dbbec6e413a4189e0dfa6969 100644 (file)
--- a/ui.h
+++ b/ui.h
@@ -14,13 +14,13 @@ int         init_ui();
 void           close_ui();
 void           headerline(char *str);
 void            refresh_screen();
-void            statusline_msg(char *msg);
-char           *ask_filename(char *prompt, int flags);
+int            statusline_msg(char *msg);
+char           *ask_filename(char *prompt);
 int            statusline_ask_boolean(char *msg, int def);
 void            clear_statusline();
 void           display_help(int help);
 void           statusline_addstr(char *str);
-char           *statusline_getnstr(char *str, int n, int use_filesel);
+char *         ui_readline(char *prompt, char *s, int limit, int use_completion);
 void           refresh_statusline();
 void           get_commands();
 void           ui_remove_items();
@@ -38,5 +38,4 @@ void          ui_open_datafile();
 #define UI_HLINE_CHAR          options_get_int("use_ascii_only") ? \
                                        '-' : ACS_HLINE
 
-
 #endif