aboutsummaryrefslogtreecommitdiffstats
path: root/src/wreadln.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-06-22 13:25:53 +0000
committerKalle Wallin <kaw@linux.se>2004-06-22 13:25:53 +0000
commit539be061ff11cb2e095393e2e478c5a50979b3bd (patch)
tree52ab5b89660991a3ffe5dfe009b27eb115354747 /src/wreadln.c
parent8e032a17efe4851c9c9de61775101e890d5594f1 (diff)
downloadmpd-539be061ff11cb2e095393e2e478c5a50979b3bd.tar.gz
mpd-539be061ff11cb2e095393e2e478c5a50979b3bd.tar.xz
mpd-539be061ff11cb2e095393e2e478c5a50979b3bd.zip
added screen_bell() for optional audible/visible bells
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/wreadln.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wreadln.c b/src/wreadln.c
index ea0824d31..dd69b417a 100644
--- a/src/wreadln.c
+++ b/src/wreadln.c
@@ -42,6 +42,7 @@ GVoidFunc wrln_resize_callback = NULL;
wrln_gcmp_pre_cb_t wrln_pre_completion_callback = NULL;
wrln_gcmp_post_cb_t wrln_post_completion_callback = NULL;
+extern void screen_bell(void);
char *
wreadln(WINDOW *w,
@@ -196,14 +197,14 @@ wreadln(WINDOW *w,
g_free(prefix);
}
else
- beep();
+ screen_bell();
if( wrln_post_completion_callback )
wrln_post_completion_callback(gcmp, line, list);
}
break;
case KEY_CTRL_G:
- beep();
+ screen_bell();
g_free(line);
if( history )
{