Skip to content

Preserve OMC madmax status rows#156

Merged
ictechgy merged 1 commit into
mainfrom
fix/omc-madmax-status-row
Jun 22, 2026
Merged

Preserve OMC madmax status rows#156
ictechgy merged 1 commit into
mainfrom
fix/omc-madmax-status-row

Conversation

@ictechgy

Copy link
Copy Markdown
Owner

Summary

  • keep explicit --status / ForceRow status repaint active during agent alt-screen startup clears
  • preserve RowAuto alt-screen protection for ordinary fullscreen apps
  • add a PTY smoke regression for omc --status --madmax forwarding and status repaint

Verification

  • 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

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
@ictechgy ictechgy merged commit 6af27b8 into main Jun 22, 2026
8 checks passed
@ictechgy ictechgy deleted the fix/omc-madmax-status-row branch June 22, 2026 03:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant