mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Update docs/examples/events/prevent.py
Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
This commit is contained in:
@@ -18,7 +18,7 @@ class PreventApp(App):
|
|||||||
|
|
||||||
def on_input_changed(self) -> None:
|
def on_input_changed(self) -> None:
|
||||||
"""Called as the user types."""
|
"""Called as the user types."""
|
||||||
self.bell() # (2)
|
self.bell() # (2)!
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user