Skip to content

Commit 497d317

Browse files
committed
buttons: Add TOPIC_DESC shortcut to TopicButton.
1 parent af14f52 commit 497d317

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
@@ -322,6 +322,8 @@ def keypress(self, size: urwid_Size, key: str) -> Optional[str]:
322322
if is_command_key("TOGGLE_TOPIC", key):
323323
# Exit topic view
324324
self.view.left_panel.show_stream_view()
325+
elif is_command_key("TOPIC_DESC", key):
326+
self.model.controller.show_topic_info(self.stream_id, self.topic_name)
325327
return super().keypress(size, key)
326328

327329

0 commit comments

Comments
 (0)