cleanup footer in config screen
This commit is contained in:
parent
1d3f6dee0a
commit
8a660a6e58
1 changed files with 4 additions and 3 deletions
|
|
@ -7,7 +7,7 @@ from cognee.cli.exceptions import CliCommandException
|
||||||
|
|
||||||
from textual.app import App, ComposeResult
|
from textual.app import App, ComposeResult
|
||||||
from textual.screen import Screen
|
from textual.screen import Screen
|
||||||
from textual.widgets import DataTable, Input, Label, Button
|
from textual.widgets import DataTable, Input, Label, Button, Static
|
||||||
from textual.containers import Container, Horizontal
|
from textual.containers import Container, Horizontal
|
||||||
from textual.binding import Binding
|
from textual.binding import Binding
|
||||||
|
|
||||||
|
|
@ -131,6 +131,7 @@ class ConfigTUIScreen(BaseTUIScreen):
|
||||||
dock: bottom;
|
dock: bottom;
|
||||||
height: 3;
|
height: 3;
|
||||||
background: $boost;
|
background: $boost;
|
||||||
|
color: $text-muted;
|
||||||
content-align: center middle;
|
content-align: center middle;
|
||||||
border: solid $primary;
|
border: solid $primary;
|
||||||
}
|
}
|
||||||
|
|
@ -165,8 +166,8 @@ class ConfigTUIScreen(BaseTUIScreen):
|
||||||
yield Input(placeholder="Enter new value", id="inline-input")
|
yield Input(placeholder="Enter new value", id="inline-input")
|
||||||
|
|
||||||
def compose_footer(self) -> ComposeResult:
|
def compose_footer(self) -> ComposeResult:
|
||||||
yield Label(
|
yield Static(
|
||||||
"[↑↓] Navigate [e] Edit [Enter] Save [r] Reset [Esc] Back [q] Quit",
|
"↑↓: Navigate • e: Edit • Enter: Save • r: Reset • Esc: Back • q: Quit",
|
||||||
id="config-footer"
|
id="config-footer"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue