fix: spawn sessions at 80x24 default (smaller mismatch before iOS resize arrives)
This commit is contained in:
parent
2e44a7f286
commit
547df01c21
|
|
@ -58,7 +58,7 @@ export async function spawnSession(opts: {
|
||||||
command?: string;
|
command?: string;
|
||||||
}): Promise<string> {
|
}): Promise<string> {
|
||||||
await checkTmuxVersion();
|
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
|
// Set default-terminal globally so programs inside tmux get xterm-256color
|
||||||
// and emit the escape sequences that SwiftTerm / xterm-compatible clients expect.
|
// and emit the escape sequences that SwiftTerm / xterm-compatible clients expect.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue