Mercurial > vim
comparison src/feature.h @ 13369:244ff1b6d2ad v8.0.1558
patch 8.0.1558: no right-click menu in a terminal
commit https://github.com/vim/vim/commit/aef8c3da2ba59285b7cfde559ae21cdce6ba6919
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 3 18:59:16 2018 +0100
patch 8.0.1558: no right-click menu in a terminal
Problem: No right-click menu in a terminal.
Solution: Implement the right click menu for the terminal.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 03 Mar 2018 19:00:06 +0100 |
parents | 65c3e8259124 |
children | 69517d67421f |
comparison
equal
deleted
inserted
replaced
13368:a68814ee7449 | 13369:244ff1b6d2ad |
---|---|
722 #ifdef FEAT_NORMAL | 722 #ifdef FEAT_NORMAL |
723 # define FEAT_MENU | 723 # define FEAT_MENU |
724 # ifdef FEAT_GUI_W32 | 724 # ifdef FEAT_GUI_W32 |
725 # define FEAT_TEAROFF | 725 # define FEAT_TEAROFF |
726 # endif | 726 # endif |
727 #endif | |
728 | |
729 /* | |
730 * popup menu in a terminal | |
731 */ | |
732 #if defined(FEAT_MENU) && !defined(ALWAYS_USE_GUI) && defined(FEAT_INS_EXPAND) | |
733 # define FEAT_TERM_POPUP_MENU | |
727 #endif | 734 #endif |
728 | 735 |
729 /* There are two ways to use XPM. */ | 736 /* There are two ways to use XPM. */ |
730 #if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \ | 737 #if (defined(HAVE_XM_XPMP_H) && defined(FEAT_GUI_MOTIF)) \ |
731 || defined(HAVE_X11_XPM_H) | 738 || defined(HAVE_X11_XPM_H) |