fix: Use Markdown widget and fix docstring formatting

- Replace Static with Markdown for proper help text rendering
- Remove extra blank lines from run_tui docstring
- Add period to docstring summary for PEP 257 compliance
- Fix closing quotes indentation
This commit is contained in:
Gnanasaikiran 2025-11-15 16:46:05 +05:30
parent 65c552a35f
commit ceaa015c91

View file

@ -103,7 +103,7 @@ class HelpScreen(Screen):
def compose(self) -> ComposeResult:
yield Header()
with VerticalScroll():
yield Static(self.help_text)
yield Markdown(self.help_text)
yield Button("Close (Esc)", id="close", variant="primary")
yield Footer()
@ -117,11 +117,10 @@ class HelpScreen(Screen):
def run_tui(mouse: bool = True) -> None:
"""Entry point to run the TUI application
"""Entry point to run the TUI application.
Args:
mouse: Enable mouse support (default: True)
"""
"""
app = CogneeTUI()
app.run(mouse=mouse)