From f674c3f262a6bf2542debd29c4aa61281a976cbc Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Tue, 13 Jul 2004 15:28:43 +0000 Subject: Use my_wgetch() instead of wgetch(), added --[no-]mouse option git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1864 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/wreadln.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wreadln.h') 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); -- cgit v1.2.3