Commit 86ebd9c
committed
Enable linefeed mode so newline moves cursor to column 0
Without linefeed mode enabled, \n only moves the cursor down without
returning to column 0. This causes text to display in a staggered pattern
instead of properly aligned at the left margin.
This fix sets the linefeed terminal mode to true when creating a new
terminal instance, making \n behave as expected (LF + CR).1 parent 6ea6f04 commit 86ebd9c
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
772 | 776 | | |
773 | 777 | | |
774 | 778 | | |
| |||
0 commit comments