From ab51e5506e68b274d21e1eed9da7c7ea74448e5d Mon Sep 17 00:00:00 2001 From: Kharec Date: Tue, 16 Dec 2025 03:25:02 +0100 Subject: [PATCH] feat: hide useless palette --- auditui/app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auditui/app.py b/auditui/app.py index 13d7715..5cca5a9 100644 --- a/auditui/app.py +++ b/auditui/app.py @@ -6,6 +6,7 @@ from typing import TYPE_CHECKING from textual import work from textual.app import App, ComposeResult +from textual.binding import Binding from textual.events import Key from textual.widgets import DataTable, Footer, Header, ProgressBar, Static from textual.worker import get_current_worker @@ -29,6 +30,7 @@ class Auditui(App): """Main application class for the Audible TUI app.""" theme = "textual-dark" + SHOW_PALETTE = False BINDINGS = [ ("n", "sort", "Sort by name"), @@ -75,7 +77,7 @@ class Auditui(App): yield table yield Static("", id="progress_info") yield ProgressBar(id="progress_bar", show_eta=False, show_percentage=False, total=100) - yield Footer() + yield Footer(show_command_palette=False) def on_mount(self) -> None: """Initialize the table and start fetching library data."""