+3
-1
lines changedFilter options
+3
-1
lines changed Original file line number Diff line number Diff line change
@@ -198,7 +198,9 @@ static void init_termios(struct termios *termios) FUNC_ATTR_NONNULL_ALL
198
198
termios->c_cflag = CS8|CREAD;
199
199
termios->c_lflag = ISIG|ICANON|IEXTEN|ECHO|ECHOE|ECHOK;
200
200
201
-
cfsetspeed(termios, 38400);
201
+
// not using cfsetspeed, not available on all platforms
202
+
cfsetispeed(termios, 38400);
203
+
cfsetospeed(termios, 38400);
202
204
203
205
#ifdef IUTF8
204
206
termios->c_iflag |= IUTF8;
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4