We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d2a1e94 + d434653 commit f9c5722Copy full SHA for f9c5722
trogon/widgets/command_info.py
@@ -90,9 +90,11 @@ def compose(self) -> ComposeResult:
90
tabs.focus()
91
yield tabs
92
93
- command_info = self.command_schema.docstring
94
- if command_info:
95
- command_info = command_info.strip()
+ command_info = (
+ self.command_schema.docstring.strip()
+ if self.command_schema.docstring
96
+ else "No description available"
97
+ )
98
99
with ContentSwitcher(
100
initial="command-info-text", id="command-info-switcher"
0 commit comments