From 539be061ff11cb2e095393e2e478c5a50979b3bd Mon Sep 17 00:00:00 2001 From: Kalle Wallin Date: Tue, 22 Jun 2004 13:25:53 +0000 Subject: added screen_bell() for optional audible/visible bells git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1612 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/wreadln.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wreadln.c') 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 ) { -- cgit v1.2.3