aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-01-12 10:14:52 -0500
committerJustin M. Keyes <justinkz@gmail.com>2015-01-12 10:14:52 -0500
commitd7e18b5c9591da967b707ee4219f1f8789edc175 (patch)
tree1d69a0495a3f08feee1715bc04ba8984135bd03e /src/nvim/main.c
parent4c55c34efaabaa151391edf59c59a14411a79d8c (diff)
downloadrneovim-d7e18b5c9591da967b707ee4219f1f8789edc175.tar.gz
rneovim-d7e18b5c9591da967b707ee4219f1f8789edc175.tar.bz2
rneovim-d7e18b5c9591da967b707ee4219f1f8789edc175.zip
Revert "[WIP] "abstract_ui" fixes and improvements"
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 5e9fde67f5..1f6c8ddc81 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -281,7 +281,9 @@ int main(int argc, char **argv)
event_init();
- if (!abstract_ui) {
+ if (abstract_ui) {
+ t_colors = 256;
+ } else {
// Print a warning if stdout is not a terminal TODO(tarruda): Remove this
// check once the new terminal UI is implemented
check_tty(&params);