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:
Scott Prager
2014-09-16 19:14:20 -04:00
parent 98b11f5db3
commit a3ef5723a9
3 changed files with 32 additions and 26 deletions

View File

@@ -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);