mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
mch_write -> term_write
Switch from POSIX's write() to fwrite(stdout,...) and disable buffering since vim buffers output explicitly and flushes when needed, like when a key is typed.
This commit is contained in:
@@ -55,7 +55,7 @@ void ui_write(char_u *s, int len)
|
||||
s = tofree;
|
||||
}
|
||||
|
||||
mch_write(s, len);
|
||||
term_write(s, len);
|
||||
|
||||
if (output_conv.vc_type != CONV_NONE)
|
||||
free(tofree);
|
||||
|
Reference in New Issue
Block a user