Preserve OMC madmax status rows#156
Merged
Merged
Conversation
ForceRow is an explicit user request, so it should self-heal even when an agent startup enters alt-screen and clears the display. Keep RowAuto's conservative alt-screen guard for ordinary fullscreen applications. Constraint: lterm omc --status --madmax must show the requested host status row after OMC startup clears the alt buffer Rejected: enabling alt-screen repaint for all status modes | would risk drawing over vim/fullscreen RowAuto sessions Confidence: high Scope-risk: narrow Directive: Keep alt-screen status repaint limited to ForceRow unless a future backend provides a safer dedicated surface Tested: cargo fmt -- --check; git diff --check; cargo test agent_alias_force_status_repaints_after_alt_screen_startup_clear --test cli_smoke -- --nocapture; cargo test agent_alias_status_default_controls_attached_tty_rendering --test cli_smoke -- --nocapture; cargo test agent_launch_status_flags_override_profile_default --bin lterm -- --nocapture; cargo clippy --all-targets -- -D warnings; cargo test; cargo build --release --locked; cargo audit Not-tested: live OMC madmax visual attach on the user's terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--status/ ForceRow status repaint active during agent alt-screen startup clearsomc --status --madmaxforwarding and status repaintVerification
cargo fmt -- --checkgit diff --checkcargo test agent_alias_force_status_repaints_after_alt_screen_startup_clear --test cli_smoke -- --nocapturecargo test agent_alias_status_default_controls_attached_tty_rendering --test cli_smoke -- --nocapturecargo test agent_launch_status_flags_override_profile_default --bin lterm -- --nocapturecargo clippy --all-targets -- -D warningscargo testcargo build --release --lockedcargo audit