A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/05f9f63f2478841f9fa6261c68663797fa9d43f6 below:

don't use cfsetspeed, use i and o variants · neovim/neovim@05f9f63 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+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