Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions patches/ghostty-wasm-api.patch
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,10 @@ index 000000000..e79702488
+ // Initialize the persistent VT stream (must be done after terminal is set)
+ wrapper.stream = wrapper.terminal.vtStream();
+
+ // Enable linefeed mode so \n performs carriage return (moves cursor to column 0)
+ // Without this, \n only moves down without returning to column 0, causing staggered text
+ wrapper.terminal.modes.set(.linefeed, true);
+
+ return @ptrCast(wrapper);
+}
+
Expand Down
Loading