aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wreadln.h')
-rw-r--r--src/wreadln.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wreadln.h b/src/wreadln.h
index 520ba2a6a..55c24b91f 100644
--- a/src/wreadln.h
+++ b/src/wreadln.h
@@ -7,8 +7,9 @@ extern unsigned int wrln_max_line_size;
/* max items stored in the history list */
extern unsigned int wrln_max_history_length;
-/* a callback function for KEY_RESIZE */
-extern GVoidFunc wrln_resize_callback;
+/* custom wgetch function */
+typedef int (*wrln_wgetch_fn_t) (WINDOW *w);
+extern wrln_wgetch_fn_t wrln_wgetch;
/* called after TAB is pressed but before g_completion_complete */
typedef void (*wrln_gcmp_pre_cb_t) (GCompletion *gcmp, gchar *buf);