diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-08-22 22:21:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-08-22 22:21:37 +0200 |
commit | ec0e07a32484ab70f1c7668294c3d8d67f8aca82 (patch) | |
tree | ef88120d91c9357124c44e84f612d32596ff0a86 /src/feature.h | |
parent | 6d0826dfbba9880820d9ec221327e4250bbf6540 (diff) | |
download | vim-git-ec0e07a32484ab70f1c7668294c3d8d67f8aca82.tar.gz |
patch 8.0.0986: terminal feature always requires multi-byte featurev8.0.0986
Problem: Terminal feature always requires multi-byte feature.
Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte.
Diffstat (limited to 'src/feature.h')
-rw-r--r-- | src/feature.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature.h b/src/feature.h index ae3859b81..b7f366426 100644 --- a/src/feature.h +++ b/src/feature.h @@ -1269,8 +1269,10 @@ /* * +terminal ":terminal" command. Runs a terminal in a window. + * requires +channel and +multibyte */ -#if !defined(FEAT_JOB_CHANNEL) && defined(FEAT_TERMINAL) +#if defined(FEAT_TERMINAL) && \ + !(defined(FEAT_JOB_CHANNEL) && defined(FEAT_MBYTE)) # undef FEAT_TERMINAL #endif #if defined(FEAT_TERMINAL) && !defined(CURSOR_SHAPE) |