Massive refactoring #1

Merged
Kharec merged 35 commits from new-architecture into main 2026-02-18 04:29:20 +01:00
Showing only changes of commit 7f5e3266be - Show all commits

View File

@@ -1,5 +1,7 @@
"""Key bindings for the main app.""" """Key bindings for the main app."""
from textual.binding import Binding
BINDINGS = [ BINDINGS = [
("?", "show_help", "Help"), ("?", "show_help", "Help"),
("s", "show_stats", "Stats"), ("s", "show_stats", "Stats"),
@@ -10,7 +12,7 @@ BINDINGS = [
("a", "show_all", "All/Unfinished"), ("a", "show_all", "All/Unfinished"),
("r", "refresh", "Refresh"), ("r", "refresh", "Refresh"),
("enter", "play_selected", "Play"), ("enter", "play_selected", "Play"),
("space", "toggle_playback", "Pause/Resume"), Binding("space", "toggle_playback", "Pause/Resume", priority=True),
("left", "seek_backward", "-30s"), ("left", "seek_backward", "-30s"),
("right", "seek_forward", "+30s"), ("right", "seek_forward", "+30s"),
("ctrl+left", "previous_chapter", "Previous chapter"), ("ctrl+left", "previous_chapter", "Previous chapter"),