summaryrefslogtreecommitdiff
path: root/src/feature.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-03-03 18:59:16 +0100
committerBram Moolenaar <Bram@vim.org>2018-03-03 18:59:16 +0100
commitaef8c3da2ba59285b7cfde559ae21cdce6ba6919 (patch)
tree14eea82ad1aa76a79e902500d39ba73de63c21a3 /src/feature.h
parentc71807db9c1821baf86796cd76952df36ff1a29a (diff)
downloadvim-git-aef8c3da2ba59285b7cfde559ae21cdce6ba6919.tar.gz
patch 8.0.1558: no right-click menu in a terminalv8.0.1558
Problem: No right-click menu in a terminal. Solution: Implement the right click menu for the terminal.
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/feature.h b/src/feature.h
index d29e599a9..2d57d6704 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -726,6 +726,13 @@
# endif
#endif
+/*
+ * popup menu in a terminal
+ */
+#if defined(FEAT_MENU) && !defined(ALWAYS_USE_GUI) && defined(FEAT_INS_EXPAND)
+# define FEAT_TERM_POPUP_MENU
+#endif
+
/* There are two ways to use XPM. */
#if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \
|| defined(HAVE_X11_XPM_H)