We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faad803 commit 8d75162Copy full SHA for 8d75162
zulipterminal/ui_tools/boxes.py
@@ -969,7 +969,13 @@ def __init__(
969
) -> None:
970
self.panel_view = panel_view
971
self.search_command = search_command
972
- self.search_text = f" Search [{', '.join(keys_for_command(search_command))}]: "
+ if search_command == "SEARCH_STREAMS" or search_command == "SEARCH_TOPICS":
973
+ search_item = self.search_command.split("_")[1].lower()
974
+ self.search_text = f" Search {search_item} [{', '.join(keys_for_command(search_command))}]: " # noqa: E501
975
+ else:
976
+ self.search_text = (
977
+ f" Search [{', '.join(keys_for_command(search_command))}]: "
978
+ )
979
self.search_error = urwid.AttrMap(
980
urwid.Text([" ", INVALID_MARKER, " No Results"]), "search_error"
981
)
0 commit comments