From 4f55ca70d188d69f3c4b7aaed03d37d411043866 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Mon, 25 Mar 2024 15:43:51 +0000 Subject: [PATCH] Change Input to not suggest right away, but to wait for an edit See #3811. --- src/textual/widgets/_input.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/textual/widgets/_input.py b/src/textual/widgets/_input.py index 0d3149f2d3..0b3ae57ee1 100644 --- a/src/textual/widgets/_input.py +++ b/src/textual/widgets/_input.py @@ -519,6 +519,7 @@ def _on_focus(self, _: Focus) -> None: if self.cursor_blink: self._blink_timer.resume() self.app.cursor_position = self.cursor_screen_offset + self._suggestion = "" async def _on_key(self, event: events.Key) -> None: self._cursor_visible = True