aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-07-07 00:34:37 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-07-07 00:34:37 +0200
commit105d680aea9f449c118520597a822e834a00c0ac (patch)
treee2fc89bc12416a10911da3088ee8aee2bb2ca404 /src/nvim/option.c
parentc07e144c821abe2bcb7824c1c683ebf674d69754 (diff)
parent1ae7744f42fe60ebc2caa383be4d17e714c71c5f (diff)
downloadrneovim-105d680aea9f449c118520597a822e834a00c0ac.tar.gz
rneovim-105d680aea9f449c118520597a822e834a00c0ac.tar.bz2
rneovim-105d680aea9f449c118520597a822e834a00c0ac.zip
Merge #6816 'TUI improvements'
Removed these commits (test-suite changes): e2fba01910e0 7c809c4bc708 18e7cd9e9727
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 7287db6eb8..ed058c420d 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -969,10 +969,13 @@ void set_init_2(bool headless)
p_window = Rows - 1;
}
set_number_default("window", Rows - 1);
+#if 0
+ // This bodges around problems that should be fixed in the TUI layer.
if (!headless && !os_term_is_nice()) {
set_string_option_direct((char_u *)"guicursor", -1, (char_u *)"",
OPT_GLOBAL, SID_NONE);
}
+#endif
parse_shape_opt(SHAPE_CURSOR); // set cursor shapes from 'guicursor'
(void)parse_printoptions(); // parse 'printoptions' default value
}