Skip to content

#595 Stage 2 — TuiShellApp::render_content paints for real through &mut dyn Backend #601

Description

@JDonaghy

Part of epic #595, milestone #9 TUI ShellApp Migration. Stage 2 of the work order. Depends on Stage 1.

Goal

Wire TuiShellApp::render_content (src/tui_main/shell_app.rs) to actually paint, through &mut dyn Backend, now that Stage 1 has made the paint path trait-portable.

Scope

  • render_content currently computes the screen layout (pure, no Frame needed) but does not paint — see the shell_app.rs module doc. Call the now-portable draw_frame + panel paint path against layout.main_content_bounds.
  • Keep the dormant/coexistence stance (still not wired to main.rs/tui_bin.rs; the live event_loop() remains authoritative until Stage 6).

Acceptance

  • Add driver_with_shell paint assertions (screen_contains) proving the editor + panels render via the ShellApp path.
  • cargo test --no-default-features green.

Dependencies

Depends on Stage 1. Prereq for Stages 3/4/5 wiring against a painting render_content. Refs: PLAN.md Stage 2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coordTracked by coord-tui pipelineenhancementNew feature or requestinfrastructureBuild, CI, distributionstatus:readyRefined and ready to enter the work pipeline

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions