Skip to content

Commit

Permalink
🔀 Merge pull request #23 from davep/tidy-search-input
Browse files Browse the repository at this point in the history
Tidy the typing around the search input dialog
  • Loading branch information
davep authored Jan 29, 2025
2 parents c81bee3 + b40e455 commit ce73d00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/peplum/app/screens/search_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


##############################################################################
class SearchInput(ModalScreen[str]):
class SearchInput(ModalScreen[str | None]):
"""A modal screen to get search text from the user."""

CSS = """
Expand Down Expand Up @@ -38,7 +38,7 @@ def search(self) -> None:

def action_escape(self) -> None:
"""Escape out without searching."""
self.app.pop_screen()
self.dismiss(None)


### search_input.py ends here

0 comments on commit ce73d00

Please sign in to comment.