mirror of
https://github.com/Textualize/textual-web.git
synced 2025-10-17 02:36:40 +03:00
14 lines
247 B
Python
14 lines
247 B
Python
from textual.app import App, ComposeResult
|
|
from textual.widgets import Pretty
|
|
|
|
import os
|
|
|
|
|
|
class TerminalEnv(App):
|
|
def compose(self) -> ComposeResult:
|
|
yield Pretty(dict(os.environ))
|
|
|
|
|
|
if __name__ == "__main__":
|
|
TerminalEnv().run()
|