Fix issue with messed up linewrap in qemu-system-x86_64

Apparently the qemu-system-x86_64 in -nographics mode does all sorts of
crazy things to the terminal.  Most annoying, it disables linewrap.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-05-15 16:05:59 +02:00
1 parent 438d6b4e63
commit 7850378e15
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ void stty(int fd, speed_t speed)
dprint(fd, "\033[?25h", 6);
/* Enable line wrap, if disabled previously */
dprint(fd, "\033[7h", 4);
dprint(fd, "\033[?7h", 5);
}
/**