Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
✨ Add a tester for Textualize/textual#4335
Browse files Browse the repository at this point in the history
  • Loading branch information
davep committed Mar 26, 2024
1 parent c062228 commit 8d79b2e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions too_much_suggest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"""Tester for https://github.com/Textualize/textual/pull/4335"""

from textual.app import App, ComposeResult
from textual.suggester import SuggestFromList
from textual.widgets import Input


class SuggestTooSoon(App[None]):
def compose(self) -> ComposeResult:
for _ in range(10):
yield Input(
"TeX", suggester=SuggestFromList(["textual"], case_sensitive=False)
)


if __name__ == "__main__":
SuggestTooSoon().run()

### too_much_suggest.py ends here

0 comments on commit 8d79b2e

Please sign in to comment.