diff options
author | Kalle Wallin <kaw@linux.se> | 2004-07-13 15:28:43 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-07-13 15:28:43 +0000 |
commit | f674c3f262a6bf2542debd29c4aa61281a976cbc (patch) | |
tree | 54226e05acccdf1bad118b4dadde4c4d4f8b7e10 /src/wreadln.h | |
parent | 2c6af7312cf617f40ab407323fd07a9fa5579495 (diff) | |
download | mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.gz mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.tar.xz mpd-f674c3f262a6bf2542debd29c4aa61281a976cbc.zip |
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
Diffstat (limited to 'src/wreadln.h')
-rw-r--r-- | src/wreadln.h | 5 |
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); |