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:
parent
65c552a35f
commit
ceaa015c91
1 changed files with 4 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue