mirror of
https://github.com/troglobit/finit.git
synced 2026-10-21 11:29:42 +00:00
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:
1 parent
438d6b4e63
commit
7850378e15
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user