Skip to content

Commit

Permalink
buttons: Add TOPIC_INFO shortcut to TopicButton.
Browse files Browse the repository at this point in the history
  • Loading branch information
srdeotarse authored and rsashank committed Sep 30, 2024
1 parent c51f72c commit 7bea76f
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 7bea76f

Please sign in to comment.