mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
* Remove hanging lines from docstrings. Deleted hanging blank lines at the end of docstrings. Regex pattern: - find `\n\n( *)"""` - replace with `\n$1"""`
17 lines
312 B
Python
17 lines
312 B
Python
"""
|
|
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()
|