mch_init -> term_init

This commit is contained in:
Scott Prager
2014-09-17 19:17:22 -04:00
parent a3ef5723a9
commit 8d271bb57b
3 changed files with 29 additions and 26 deletions

View File

@@ -130,26 +130,6 @@ void mch_suspend(void)
#endif
}
void mch_init(void)
{
Columns = 80;
Rows = 24;
// Prevent buffering output.
// Output gets explicitly buffered and flushed by out_flush() at times like,
// for example, when the user presses a key. Without this line, vim will not
// render the screen correctly.
setbuf(stdout, NULL);
out_flush();
#ifdef MACOS_CONVERT
mac_conv_init();
#endif
event_init();
}
static int get_x11_title(int test_only)
{
return FALSE;