]> code.citadel.org Git - citadel.git/commitdiff
* screen.c: fix lack of beeps in curses mode
authorMichael Hampton <io_error@uncensored.citadel.org>
Sun, 5 May 2002 17:33:09 +0000 (17:33 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Sun, 5 May 2002 17:33:09 +0000 (17:33 +0000)
citadel/ChangeLog
citadel/screen.c

index 0c179db9f641d3d0038bce2986dea49d92c3dcba..8f094406a1ea4b6e2a540f55905838d52a08e8fe 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 591.18  2002/05/05 17:33:09  error
+ * screen.c: fix lack of beeps in curses mode
+
  Revision 591.17  2002/05/04 02:58:16  ajc
  * Documented a small protocol change for the STEL command
 
@@ -3631,3 +3634,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import 
+
index 2c266b06db8300c998ea2675583ae14b7558676e..cc145cc238e573f21fd02d5f33597189639a43da 100644 (file)
@@ -321,8 +321,10 @@ int scr_blockread(void)
 int scr_putc(int c)
 {
 #ifdef HAVE_CURSES_H
-       if (mainwindow)
+       if (mainwindow) {
+               if (c == 7) beep();
                return ((waddch(mainwindow, c) == OK) ? c : EOF);
+       }
 #endif
        return putc(c, stdout);
 }