Skip to content

core(renderer): add resize-reset for split-footer#1096

Open
simonklee wants to merge 2 commits into
mainfrom
ot-split-footer-resize
Open

core(renderer): add resize-reset for split-footer#1096
simonklee wants to merge 2 commits into
mainfrom
ot-split-footer-resize

Conversation

@simonklee
Copy link
Copy Markdown
Member

When screenMode is "split-footer" and externalOutputMode is "capture-stdout", treat resize as destructive: on the first event in a burst, scroll the upper pane into history, clear the footer area, and buffer further output. Subsequent events in the same burst only update target dimensions, scrolling any newly revealed rows to keep the viewport blank. Once debounce settles, apply the final geometry once, reset split scrollback from origin, and force a full repaint.

You get a clean footer after the user stops dragging. SPLIT_FOOTER_RESIZE_RESET exposes burst-start/update/settle/cancel phases for instrumentation.

When screenMode is "split-footer" and externalOutputMode is
"capture-stdout", treat resize as destructive: on the first event in
a burst, scroll the upper pane into history, clear the footer area,
and buffer further output. Subsequent events in the same burst only
update target dimensions, scrolling any newly revealed rows to keep
the viewport blank. Once debounce settles, apply the final geometry
once, reset split scrollback from origin, and force a full repaint.

You get a clean footer after the user stops dragging. SPLIT_FOOTER_RESIZE_RESET
exposes burst-start/update/settle/cancel phases for instrumentation.
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