build_tools.syllable_walk_tui.core.state
State management for Syllable Walker TUI.
This module provides the global AppState dataclass. Individual patch state is managed by the oscillator module, and combiner/selector state by the generator module.
Classes
Global application state. |
Module Contents
- class build_tools.syllable_walk_tui.core.state.AppState[source]
Global application state.
- patch_a
Configuration for patch A
- patch_b
Configuration for patch B
- combiner_a
Configuration for Patch A name_combiner (mirrors CLI options)
- combiner_b
Configuration for Patch B name_combiner (mirrors CLI options)
- selector_a
Configuration for Patch A name_selector (mirrors CLI options)
- selector_b
Configuration for Patch B name_selector (mirrors CLI options)
- current_focus
Currently focused panel (“patch_a”, “patch_b”, or “stats”)
- last_browse_dir
Last directory browsed (for remembering location)
- patch_a: build_tools.syllable_walk_tui.modules.oscillator.PatchState
- patch_b: build_tools.syllable_walk_tui.modules.oscillator.PatchState
- combiner_a: build_tools.syllable_walk_tui.modules.generator.CombinerState
- combiner_b: build_tools.syllable_walk_tui.modules.generator.CombinerState
- selector_a: build_tools.syllable_walk_tui.modules.generator.SelectorState
- selector_b: build_tools.syllable_walk_tui.modules.generator.SelectorState
- last_browse_dir: pathlib.Path | None = None