Skip to content

Commit 1a81834

Browse files
committed
Fix: rows first then columns
1 parent 00efa5f commit 1a81834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Platforms/emscripten/streams.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class NodeWriter {
205205
}
206206

207207
ioctl_tiocgwinsz() {
208-
return [this.nodeStream.columns ?? 24, this.nodeStream.rows ?? 80];
208+
return [this.nodeStream.rows ?? 24, this.nodeStream.columns ?? 80];
209209
}
210210
}
211211

0 commit comments

Comments
 (0)