1
0
forked from aniani/vim

patch 8.0.0539: startup test fails on Mac

Problem:    Startup test fails on Mac.
Solution:   Use another term name, "unknown" is known. Avoid a 2 second delay.
This commit is contained in:
Bram Moolenaar
2017-04-02 17:21:16 +02:00
parent 85045a73db
commit 08f88b139d
5 changed files with 15 additions and 2 deletions

View File

@@ -1705,7 +1705,8 @@ set_termname(char_u *term)
{
screen_start(); /* don't know where cursor is now */
out_flush();
ui_delay(2000L, TRUE);
if (!is_not_a_term())
ui_delay(2000L, TRUE);
}
set_string_option_direct((char_u *)"term", -1, term,
OPT_FREE, 0);