docs: expose layout switching in Config help

Show the existing Left/Right mixer-orientation control in the Config quick-help footer and document the interaction.\n\nTests: cargo fmt --all -- --check\nTests: cargo test -p tui --all-features\nTests: cargo check --workspace --all-targets --all-features\nTests: cargo clippy -p tui --all-targets --all-features -- -D warnings
This commit is contained in:
Dandaedre 2026-10-18 11:34:05 +02:00
parent b422018a89
commit 7b18fe5030
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
3 changed files with 19 additions and 4 deletions

View File

@ -107,8 +107,9 @@ they do not represent a live hardware session.
| Hide selected fader | Shift+H | Shift+H |
| Help | h or ? | h or ? |
Use `Tab` to open Config, `T` to cycle the theme, and `Q` to open the quit
confirmation. Fader editing exposes capture rules, group membership, separate
Use `Tab` to open Config, select Mixer layout and use Left/Right to switch its
orientation, `T` to cycle the theme, and `Q` to open the quit confirmation.
Fader editing exposes capture rules, group membership, separate
controller/Learn/Unlearn actions for volume and mute, size, and visibility.
Add opens a chooser for a new application fader, empty group, or separator.
New faders and groups open directly in the editor; delete asks for confirmation

View File

@ -565,8 +565,10 @@ profile theme, mixer orientation and pickup-status selection, a popup listing
all hidden faders for individual restoration, unsaved and Save state, active
profile/backend status, MIDI-learn
cancellation, and MIDI device diagnostics. Object and layout edits stay on the
main mixer. There is no separate hidden-fader mode: hidden rows disappear from
the mixer and are restored from this popup at their retained layout positions.
main mixer. Its quick-help footer calls out Left/Right layout switching
alongside Save and navigation. There is no separate hidden-fader mode: hidden
rows disappear from the mixer and are restored from this popup at their retained
layout positions.
MIDI devices are selectable settings rows. Their details popup shows stable and
backend identity, connection status, and errors, and sets or clears the same
profile-backed default controller used by MIDI learn.

View File

@ -3198,6 +3198,8 @@ impl<C: MixerClient> Widget for &LiveTui<C> {
"help".fg(theme.secondary),
]),
Tab::Configuration => Line::from(vec![
" ←→ ".fg(theme.foreground),
"layout".fg(theme.secondary),
" S ".fg(theme.foreground),
"save".fg(theme.secondary),
" Tab ".fg(theme.foreground),
@ -6835,6 +6837,16 @@ mod tests {
})
.unwrap();
app.handle_key_event(press(KeyCode::Char('2')));
let area = Rect::new(0, 0, 160, 20);
let mut buffer = Buffer::empty(area);
(&app).render(area, &mut buffer);
let rendered = buffer
.content
.iter()
.map(|cell| cell.symbol())
.collect::<String>();
assert!(rendered.contains(" ←→ layout"));
app.handle_key_event(press(KeyCode::Right));
assert_eq!(app.theme(), ThemeName::Dracula);
app.handle_key_event(press(KeyCode::Down));