diff options
-rw-r--r-- | input.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -83,8 +83,9 @@ show_value() if(fetestexcept(FE_ALL_EXCEPT)) { set_string("Err"); + bell(); showing_err = 1; - return; + return; } if (base == 2) @@ -236,8 +237,10 @@ key(char c) feclearexcept(FE_ALL_EXCEPT); - if(showing_err && c != 27 && c != 'C') + if(showing_err && c != 27 && c != 'C') { + bell(); return; + } switch (c) { |