aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-12-02 07:51:18 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-12-02 07:51:18 -0300
commit888511862bc7b0850e2695e3edd46212dc78cc47 (patch)
tree572598e6b335008a71d6bc76faf6c5be7185d91c /src/nvim/misc1.c
parent212cb13ca4526350ce761378505536fafb559eab (diff)
parent6436908ffe1906804a13073dd474e109e8be1d91 (diff)
downloadrneovim-888511862bc7b0850e2695e3edd46212dc78cc47.tar.gz
rneovim-888511862bc7b0850e2695e3edd46212dc78cc47.tar.bz2
rneovim-888511862bc7b0850e2695e3edd46212dc78cc47.zip
Merge PR #1591 'Prepare to rewrite the terminal UI'
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 230e198121..fc848466c6 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -42,6 +42,7 @@
#include "nvim/misc2.h"
#include "nvim/garray.h"
#include "nvim/move.h"
+#include "nvim/mouse.h"
#include "nvim/option.h"
#include "nvim/os_unix.h"
#include "nvim/path.h"
@@ -2286,8 +2287,6 @@ int ask_yesno(char_u *str, int direct)
int r = ' ';
int save_State = State;
- if (exiting) /* put terminal in raw mode for this question */
- settmode(TMODE_RAW);
++no_wait_return;
#ifdef USE_ON_FLY_SCROLL
dont_scroll = TRUE; /* disallow scrolling here */