Skip to content

Commit a570d28

Browse files
rsashanksrdeotarse
andcommitted
buttons: Add TOPIC_INFO shortcut to TopicButton.
Fixes zulip#1075. Co-authored-by: Shivam Deotarse <[email protected]>
1 parent 81c8f93 commit a570d28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zulipterminal/ui_tools/buttons.py

+2
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,8 @@ def keypress(self, size: urwid_Size, key: str) -> Optional[str]:
381381
# Exit topic view
382382
self.view.associate_stream_with_topic(self.stream_id, self.topic_name)
383383
self.view.left_panel.show_stream_view()
384+
elif is_command_key("TOPIC_INFO", key):
385+
self.model.controller.show_topic_info(self.stream_id, self.topic_name)
384386
return super().keypress(size, key)
385387

386388

0 commit comments

Comments
 (0)