X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fmegametrum-v0.1%2Fao_megametrum.c;fp=src%2Fmegametrum-v0.1%2Fao_megametrum.c;h=eaab9b50ade2c08772ea116542fe47a0453951e3;hp=4d9343e1cdcd6a1ea7010d658b9a5aff511794f3;hb=35e3c47da895bdd868b9b66b98bca64bd82db862;hpb=9804528e249db256e020d4b5340ba6216d3474f0 diff --git a/src/megametrum-v0.1/ao_megametrum.c b/src/megametrum-v0.1/ao_megametrum.c index 4d9343e1..eaab9b50 100644 --- a/src/megametrum-v0.1/ao_megametrum.c +++ b/src/megametrum-v0.1/ao_megametrum.c @@ -20,7 +20,11 @@ void beep(void) { - ao_beep_for(AO_BEEP_MID, AO_MS_TO_TICKS(2000)); + ao_beep(AO_BEEP_MID); + printf ("Hit a character to stop..."); flush(); + getchar(); + putchar('\n'); + ao_beep(0); } const struct ao_cmds ao_mm_cmds[] = {