Skip to content

Commit

Permalink
Change Input to not suggest right away, but to wait for an edit
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Mar 25, 2024
1 parent 154a631 commit 4f55ca7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/textual/widgets/_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f55ca7

Please sign in to comment.