fix: spawn sessions at 80x24 default (smaller mismatch before iOS resize arrives)

This commit is contained in:
jay 2026-05-16 04:00:02 +02:00
parent 2e44a7f286
commit 547df01c21
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export async function spawnSession(opts: {
command?: string;
}): Promise<string> {
await checkTmuxVersion();
const { name, width = 120, height = 40, command = "" } = opts;
const { name, width = 80, height = 24, command = "" } = opts;
// Set default-terminal globally so programs inside tmux get xterm-256color
// and emit the escape sequences that SwiftTerm / xterm-compatible clients expect.