Closed darrenburns closed 2 months ago
The help text doesn't appear for the initial "discovery" hits. When you start to search, the help text starts to appear.
It looks like you just need a small tweak to your DiscoveryHit
:
async def discover(self) -> Hits:
for name, runnable, help_text in self.commands:
yield DiscoveryHit(
name,
runnable,
help=help_text,
)
There's something wrong with scrolling when you use the keyboard to move the cursor through the option list.
From a quick look at the recent changes to the OptionList
, I'm not sure the "line position for the start of the option" is correctly tracked here?
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
I found 3 issues with the command palette in the latest release.