chore: fix truncation logic and test duplications

This commit is contained in:
Spencer
2026-04-07 19:33:15 +00:00
parent f5d2062fd3
commit d2e9d883ec
6 changed files with 103 additions and 186 deletions
@@ -1148,7 +1148,8 @@ export class ShellExecutionService {
let lastYdisp = 0;
let hasReachedMax = false;
const scrollbackLimit = shellExecutionConfig.scrollback ?? SCROLLBACK_LIMIT;
const scrollbackLimit =
shellExecutionConfig.scrollback ?? SCROLLBACK_LIMIT;
headlessTerminal.onScroll((ydisp) => {
if (!isWriting) {