diff options
author | Kalle Wallin <kaw@linux.se> | 2004-03-22 18:10:23 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-03-22 18:10:23 +0000 |
commit | 070f67aef44e135b2fbe14a35ca8b3f9bb8a1cc7 (patch) | |
tree | 8759a47ea4639621726e44667d28bd7ba797a7ae /screen_utils.h | |
parent | 3da656b83260ef257675a4ae4c681b3b99f83353 (diff) | |
download | mpd-070f67aef44e135b2fbe14a35ca8b3f9bb8a1cc7.tar.gz mpd-070f67aef44e135b2fbe14a35ca8b3f9bb8a1cc7.tar.xz mpd-070f67aef44e135b2fbe14a35ca8b3f9bb8a1cc7.zip |
Added find (in page) functionality.
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@369 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | screen_utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/screen_utils.h b/screen_utils.h index 7143832bf..cddbe7e74 100644 --- a/screen_utils.h +++ b/screen_utils.h @@ -39,4 +39,10 @@ void list_window_first(list_window_t *lw); void list_window_last(list_window_t *lw, int length); void list_window_previous_page(list_window_t *lw); void list_window_next_page(list_window_t *lw, int length); +int list_window_find(list_window_t *lw, + list_window_callback_fn_t callback, + void *callback_data, + char *str); + +char *screen_readln(WINDOW *w, char *prompt); |