fix(tui): deferred native scrollback rebuilds

This commit is contained in:
Brit
2026-05-28 15:45:33 +02:00
parent 3f073b82de
commit a8dabe2cf8
4 changed files with 111 additions and 30 deletions
@@ -839,6 +839,7 @@ export class InteractiveMode implements InteractiveModeContext {
this.#pendingSubmissionDispose = undefined;
}
this.editor.setText("");
this.ui.refreshNativeScrollbackIfDirty();
this.ensureLoadingAnimation();
this.ui.requestRender();
return submission;