Skip to content

Commit

Permalink
buttons: Add TOPIC_INFO shortcut to TopicButton.
Browse files Browse the repository at this point in the history
Fixes #1075.

Co-authored-by: Shivam Deotarse <[email protected]>
  • Loading branch information
rsashank and srdeotarse committed Sep 5, 2024
1 parent 81c8f93 commit a570d28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zulipterminal/ui_tools/buttons.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ def keypress(self, size: urwid_Size, key: str) -> Optional[str]:
# Exit topic view
self.view.associate_stream_with_topic(self.stream_id, self.topic_name)
self.view.left_panel.show_stream_view()
elif is_command_key("TOPIC_INFO", key):
self.model.controller.show_topic_info(self.stream_id, self.topic_name)
return super().keypress(size, key)


Expand Down

0 comments on commit a570d28

Please sign in to comment.