perf: increase terminal scrollback from 5000 to 20000 lines

Long-running Claude sessions can exceed 5000 lines easily, causing
earlier content to be lost. 20000 lines retains ~4x more history.
This commit is contained in:
zhouyuan
2026-03-10 14:36:10 +08:00
parent 06f7d40c42
commit 31ce7405a6
+1 -1
View File
@@ -42,7 +42,7 @@ function urlBase64ToUint8Array(base64String) {
// ═══════════════════════════════════════════════════════════════
// Default terminal scrollback (can be changed via settings)
const DEFAULT_SCROLLBACK = 5000;
const DEFAULT_SCROLLBACK = 20000;
// Timing constants
const STUCK_THRESHOLD_DEFAULT_MS = 600000; // 10 minutes - default for stuck detection