We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78b6946 commit f559e94Copy full SHA for f559e94
tools/config_editor/app.py
100644
100755
@@ -28,13 +28,6 @@ class ConfigEditorApp(App):
28
"compile": CompileScreen(),
29
"editor": EditorScreen(),
30
}
31
- BINDINGS = [
32
- ("c", "push_screen('compile')", "Compile"),
33
- ("t", "push_screen('targets', update_targets)", "Change Targets"),
34
- ("o", "push_screen('editor')", "Change Options"),
35
- ("l", "app.toggle_class('RichLog', '-hidden')", "Log"),
36
- ("q", "quit", "Quit"),
37
- ]
38
39
def log_print(self, renderable: RenderableType) -> None:
40
self.query_one(RichLog).write(renderable)
@@ -71,7 +64,6 @@ def compose(self) -> ComposeResult:
71
64
yield Button("Change Configuration Options", id="options-button", classes="main-menu-button")
72
65
yield Button("Quit", id="quit-button", classes="main-menu-button")
73
66
yield RichLog(classes="-hidden", wrap=False, highlight=True, markup=True)
74
- yield Footer()
75
67
76
68
def on_mount(self) -> None:
77
69
self.title = "Configurator"
tools/config_editor/compile.py
@@ -10,7 +10,6 @@ def compose(self) -> ComposeResult:
10
yield Header()
11
with Container():
12
yield Static("Compile", id="compile-title")
13
14
15
16
pass
tools/config_editor/editor.py
@@ -21,7 +21,6 @@ def compose(self) -> ComposeResult:
21
yield DirectoryTree(path, id="tree-view")
22
with VerticalScroll(id="code-view"):
23
yield Static(id="code", expand=True)
24
25
26
27
self.sub_title = "Select a file"
tools/config_editor/targets.py
@@ -47,7 +47,6 @@ def compose(self) -> ComposeResult:
47
yield Button("Select All", id="select-all-button", classes="target-button")
48
yield Button("Select None", id="select-none-button", classes="target-button")
49
yield Button("Cancel", id="cancel-button", classes="target-button")
50
51
52
53
self.sub_title = "Target Selection"
0 commit comments