comparison src/option.c @ 18354:9f51d0cef8da v8.1.2171

patch 8.1.2171: mouse support not always available Commit: https://github.com/vim/vim/commit/a1cb1d1dce14dd005797590721f1bcd0e7c3b35f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 17 23:00:07 2019 +0200 patch 8.1.2171: mouse support not always available Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
author Bram Moolenaar <Bram@vim.org>
date Thu, 17 Oct 2019 23:15:04 +0200
parents 506bf60a30a0
children 212284f893d5
comparison
equal deleted inserted replaced
18353:c3a0f5d3c9d4 18354:9f51d0cef8da
4974 /* 4974 /*
4975 * Reset a few things before clearing the old options. This may cause 4975 * Reset a few things before clearing the old options. This may cause
4976 * outputting a few things that the terminal doesn't understand, but the 4976 * outputting a few things that the terminal doesn't understand, but the
4977 * screen will be cleared later, so this is OK. 4977 * screen will be cleared later, so this is OK.
4978 */ 4978 */
4979 #ifdef FEAT_MOUSE_TTY 4979 mch_setmouse(FALSE); // switch mouse off
4980 mch_setmouse(FALSE); /* switch mouse off */
4981 #endif
4982 #ifdef FEAT_TITLE 4980 #ifdef FEAT_TITLE
4983 mch_restore_title(SAVE_RESTORE_BOTH); /* restore window titles */ 4981 mch_restore_title(SAVE_RESTORE_BOTH); /* restore window titles */
4984 #endif 4982 #endif
4985 #if defined(FEAT_XCLIPBOARD) && defined(FEAT_GUI) 4983 #if defined(FEAT_XCLIPBOARD) && defined(FEAT_GUI)
4986 /* When starting the GUI close the display opened for the clipboard. 4984 /* When starting the GUI close the display opened for the clipboard.