Skip to content

Commit e8c42ec

Browse files
committed
buttons: Add TOPIC_INFO shortcut to TopicButton.
1 parent c765817 commit e8c42ec

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
@@ -349,6 +349,8 @@ def keypress(self, size: urwid_Size, key: str) -> Optional[str]:
349349
if is_command_key("TOGGLE_TOPIC", key):
350350
# Exit topic view
351351
self.view.left_panel.show_stream_view()
352+
elif is_command_key("TOPIC_INFO", key):
353+
self.model.controller.show_topic_info(self.stream_id, self.topic_name)
352354
return super().keypress(size, key)
353355

354356

0 commit comments

Comments
 (0)