summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-13 15:47:25 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-13 15:47:25 +0200
commit0c0eddd3ddd266bcc2036362fae7b2b8b9d2c7bf (patch)
treee4c0912ac6fd6632c69c19fc062e64b4e1970076 /src/main.c
parent4a021dfbeee88ac09d07e257912485314ecdcabe (diff)
downloadvim-git-0c0eddd3ddd266bcc2036362fae7b2b8b9d2c7bf.tar.gz
patch 8.2.0970: terminal properties are not available in Vim scriptv8.2.0970
Problem: Terminal properties are not available in Vim script. Solution: Add the terminalprops() function.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f686a5fb5..39e67e998 100644
--- a/src/main.c
+++ b/src/main.c
@@ -407,6 +407,10 @@ main
init_highlight(TRUE, FALSE); // set the default highlight groups
TIME_MSG("init highlight");
+#if defined(FEAT_TERMRESPONSE)
+ init_term_props(TRUE);
+#endif
+
#ifdef FEAT_EVAL
// Set the break level after the terminal is initialized.
debug_break_level = params.use_debug_break_level;