console screenshot

This commit is contained in:
Will McGugan
2022-08-23 12:17:11 +01:00
parent 703ea61ba7
commit 23fcf46ce8
7 changed files with 50 additions and 24 deletions

View File

@@ -0,0 +1,18 @@
"""
Simulates a screenshot of the Textual devtools
"""
from textual.app import App
from textual.devtools.renderables import DevConsoleHeader
from textual.widgets import Static
class ConsoleApp(App):
def compose(self):
self.dark = True
yield Static(DevConsoleHeader())
app = ConsoleApp()