diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-04-02 17:21:16 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-04-02 17:21:16 +0200 |
commit | 08f88b139d2f93661ed2b17214ee6b308b4edb5b (patch) | |
tree | 5f8c2ccb84fe903f97bf87d0dff2a5741bca6b99 /src/main.c | |
parent | 85045a73db258a054a17fd52a67eb5cd02a788dc (diff) | |
download | vim-git-08f88b139d2f93661ed2b17214ee6b308b4edb5b.tar.gz |
patch 8.0.0539: startup test fails on Macv8.0.0539
Problem: Startup test fails on Mac.
Solution: Use another term name, "unknown" is known. Avoid a 2 second delay.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 78b61228a..e3db0b2a9 100644 --- a/src/main.c +++ b/src/main.c @@ -1013,6 +1013,15 @@ common_init(mparm_T *paramp) } /* + * Return TRUE when the --not-a-term argument was found. + */ + int +is_not_a_term() +{ + return params.not_a_term; +} + +/* * Main loop: Execute Normal mode commands until exiting Vim. * Also used to handle commands in the command-line window, until the window * is closed. |