MCPcopy Create free account
hub / github.com/archlinux/archinstall / _AppInstance

Class _AppInstance

archinstall/tui/components.py:1179–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177
1178
1179class _AppInstance(App[ValueT]):
1180 ENABLE_COMMAND_PALETTE = False
1181
1182 BINDINGS: ClassVar = [
1183 Binding('f1', 'trigger_help', 'Show/Hide help', show=True),
1184 Binding('ctrl+q', 'quit', 'Quit', show=True, priority=True),
1185 ]
1186
1187 CSS = """
1188 Screen {
1189 color: white;
1190 }
1191
1192 * {
1193 scrollbar-size: 1 1;
1194
1195 /* Use high contrast colors */
1196 scrollbar-color: white;
1197 scrollbar-background: black;
1198 }
1199
1200 .app-header {
1201 dock: top;
1202 height: auto;
1203 width: 100%;
1204 content-align: center middle;
1205 background: blue;
1206 color: white;
1207 text-style: bold;
1208 }
1209
1210 .header-text {
1211 text-align: center;
1212 width: 100%;
1213 height: auto;
1214
1215 padding-top: 2;
1216 padding-bottom: 2;
1217
1218 background: transparent;
1219 }
1220
1221 .preview-header {
1222 text-align: center;
1223 color: white;
1224 text-style: bold;
1225 width: 100%;
1226
1227 padding-bottom: 1;
1228
1229 background: transparent;
1230 }
1231
1232 .no-border {
1233 border: none;
1234 }
1235
1236 Input {

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected