ATT-21 one window, one tab, one pane, always full screen #3
Loading…
Reference in a new issue
No description provided.
Delete branch "ATT-21-one-window"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work package: https://openproject.home.romaine.life/wp/ATT-21 (part of https://openproject.home.romaine.life/wp/ATT-19)
at-terminal's shape built in, not left to config: one window, one tab, one pane, always full screen. tmux does the tabs, splits and history.
What changes
rio-backendconfig/at_terminal.rs:Config::pin_at_terminal()holds every loaded config to full screen, no scrollbar, no quit confirmation, no tab strip (navigation.mode = plain), no splits, no config-in-a-split. Tests: a config asking for windowed/tabs/splits/scrollbar/confirm is pinned; the default is too.riotermat_terminal.rs:load_config()is the one way a config is loaded, at startup and on reload: the file, the launch flags, then the pin. No config file is not an error, so Rio's first-run welcome screen never shows.at_terminal.rs.one_tab/one_panemakeadd_context,splitandsplit_from_configdo nothing. Test:at_terminal_keeps_one_tab_and_one_pane.ToggleFullScreenonly ever puts the window back into full screen.Not in this PR (ATT-21's other parts): double-height/width rows, single instance, kept zoom and the tolerant state file, the log of fixed words.
Checked:
cargo fmt --check,cargo clippy --workspace --features wgpu --all-targets -D warningsandcargo test --workspace --features wgpupass on upstairspc (Windows); nelsonpc builds nothing (its disk is full and it's the gaming PC), soci-checkdidn't run there; CI covers Linux. The macOS menu edit isn't compiled by CI (no macOS runner): it removes items and three now-unused imports only.Only a real desktop shows: the window opening full screen with nothing above tmux, a second window request bringing the first forward.