This commit is contained in:
2025-09-12 11:08:31 -07:00
parent 1002fc2177
commit 7e1497f0cc
7 changed files with 314 additions and 135 deletions

18
tui/views/test_view.py Normal file
View File

@@ -0,0 +1,18 @@
"""
Simple test view to verify TUI framework functionality.
"""
from textual.app import ComposeResult
from textual.widgets import Static
from textual.widget import Widget
class TestView(Widget):
"""Test view with static content to verify TUI rendering."""
def compose(self) -> ComposeResult:
yield Static("TUI Framework Test", classes="view-title")
yield Static("This is a simple test view to verify TUI functionality.")
yield Static("If you see this text, the TUI framework is working correctly.")
yield Static("Check marks: [✓] Text rendering [✓] Basic layout")
def on_mount(self) -> None:
self.log("TestView mounted successfully")