Skip to content
Snippets Groups Projects
Commit 22c72baf authored by deuce's avatar deuce
Browse files

Update/fix beeps.

parent 2d127fb7
No related branches found
No related tags found
No related merge requests found
......@@ -163,6 +163,7 @@ int try_x_init(int mode)
cio_api.setfont=x_setfont;
cio_api.getfont=x_getfont;
cio_api.loadfont=x_loadfont;
cio_api.beep=x_beep;
cio_api.kbhit=x_kbhit;
cio_api.getch=x_getch;
......@@ -218,6 +219,7 @@ int try_ansi_init(int mode)
cio_api.getch=ansi_getch;
cio_api.textmode=ansi_textmode;
cio_api.ESCDELAY=&CIOLIB_ANSI_TIMEOUT;
cio_api.beep=ansi_beep;
return(1);
}
return(0);
......
......@@ -40,6 +40,7 @@
#endif
#include "ciolib.h"
#undef beep
#undef getch
#undef ungetch
#undef getmouse
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment