18 lines
578 B
Diff
18 lines
578 B
Diff
diff -ruN libfyaml-0.9.6/src/util/fy-utils.c libfyaml-0.9.6-banan_os/src/util/fy-utils.c
|
|
--- libfyaml-0.9.6/src/util/fy-utils.c 2026-03-15 15:48:50.000000000 +0200
|
|
+++ libfyaml-0.9.6-banan_os/src/util/fy-utils.c 2026-03-25 03:41:24.070062486 +0200
|
|
@@ -434,7 +434,13 @@
|
|
|
|
newt = t;
|
|
|
|
+#ifdef __banan_os__
|
|
+ newt.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
|
|
+ newt.c_oflag &= ~(OPOST);
|
|
+ newt.c_lflag &= ~(ECHO | ECHONL | ISIG | ICANON | IEXTEN);
|
|
+#else
|
|
cfmakeraw(&newt);
|
|
+#endif
|
|
|
|
ret = tcsetattr(fd, TCSANOW, &newt);
|
|
if (ret != 0)
|