build_tools.syllable_walk_tui.core.app
Main Textual application for Syllable Walker TUI.
This module contains the primary App class, modal screens, and layout widgets for the interactive terminal interface.
Architecture: - Main view: Side-by-side patch configuration (always visible) - Modal screens: Blended Walk (v) and Analysis (a) views - Keyboard-first navigation with configurable keybindings
Classes
Main Textual application for Syllable Walker TUI. |
Module Contents
- class build_tools.syllable_walk_tui.core.app.SyllableWalkerApp[source]
Bases:
textual.app.AppMain Textual application for Syllable Walker TUI.
Provides interactive interface for exploring phonetic space through side-by-side patch configuration and real-time generation.
- Default Keybindings:
q, Ctrl+Q: Quit application ?, F1: Show help v: View blended walk (modal screen) a: View analysis (modal screen) 1: Select corpus for Patch A 2: Select corpus for Patch B
Note
All keybindings are user-configurable via ~/.config/pipeworks_tui/keybindings.toml
Initialize application with default state.
- BINDINGS
The default key bindings.
- CSS_PATH = 'styles.tcss'
File paths to load CSS from.
- state
- keybindings
- theme = 'nord'
The name of the currently active theme.
- on_mount()[source]
Handle app mount event.
NOTE: Previously disabled focus on ALL container widgets, but this broke tab order. Now we only disable focus on the StatsPanel container since it has no focusable children and shouldn’t be in the tab navigation path.
- on_button_generate_candidates_a()[source]
Generate candidates for Patch A using name_combiner (mirrors CLI behavior).
- on_button_generate_candidates_b()[source]
Generate candidates for Patch B using name_combiner (mirrors CLI behavior).
- on_button_select_names_a()[source]
Select names for Patch A using name_selector (mirrors CLI behavior).