aboutsummaryrefslogtreecommitdiffstats
path: root/list_window.h
diff options
context:
space:
mode:
Diffstat (limited to 'list_window.h')
-rw-r--r--list_window.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/list_window.h b/list_window.h
index 87bbf826d..ce799c1bd 100644
--- a/list_window.h
+++ b/list_window.h
@@ -49,6 +49,16 @@ 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 *str,
+ int wrap);
+
+/* find a string in a list window (reversed) */
+int
+list_window_rfind(list_window_t *lw,
+ list_window_callback_fn_t callback,
+ void *callback_data,
+ char *str,
+ int wrap,
+ int rows);
#endif