some things for web deploy
This commit is contained in:
parent
fe714562b5
commit
9decef3226
2
bingo.py
2
bingo.py
@ -5,6 +5,7 @@ from textual.widgets import Header, Input, Static, Button
|
||||
from textual.containers import Horizontal, Container
|
||||
from textual.validation import Number
|
||||
from textual.command import DiscoveryHit, Provider, Hits, Hit
|
||||
#from textual.command import Provider, Hits, Hit
|
||||
from textual.reactive import reactive
|
||||
|
||||
from datetime import datetime
|
||||
@ -26,6 +27,7 @@ Built using [@click="app.open_link('https://textual.textualize.io/')"]Textual[/]
|
||||
class AboutCommand(Provider):
|
||||
async def discover(self) -> Hits:
|
||||
yield DiscoveryHit(display='About', command=self.app.action_toggle_sidebar, help='Link to repo etc.')
|
||||
#yield Hit(1, 'About', self.app.action_toggle_sidebar, help='Link to repo etc.')
|
||||
|
||||
def show_about(self):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user