14 lines
444 B
Python
14 lines
444 B
Python
from textual.app import App
|
|
from ui.screens.pair_screen import PairScreen
|
|
from api.node import MeshNode
|
|
|
|
|
|
class mesh(App):
|
|
CSS_PATH = "assets/global.tcss"
|
|
|
|
def __init__(self, driver_class = None, css_path = None, watch_css = False, ansi_color = False):
|
|
super().__init__(driver_class, css_path, watch_css, ansi_color)
|
|
self.mesh_node: MeshNode = None
|
|
|
|
def on_ready(self):
|
|
self.push_screen(PairScreen()) |