From ae54db4f2a3a6ce28683067c50d10e4fa3e78931 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 19 Oct 2022 14:03:11 +0100 Subject: [PATCH] Remove the bell from the calculator Don't ping the terminal bell on every key-press. This might be okay on some systems, on others (we're looking at you Windows) it's a wee bit distracting. See #955. --- examples/calculator.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/calculator.py b/examples/calculator.py index 9477b6cdd..de8e8b12c 100644 --- a/examples/calculator.py +++ b/examples/calculator.py @@ -93,8 +93,6 @@ class CalculatorApp(App): button_id = event.button.id assert button_id is not None - self.bell() # Terminal bell - def do_math() -> None: """Does the math: LEFT OPERATOR RIGHT""" try: