aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_getln.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/ex_getln.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/ex_getln.c')
-rw-r--r--src/nvim/ex_getln.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 70db2dc479..e56592923d 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -48,6 +48,7 @@
#include "nvim/keymap.h"
#include "nvim/garray.h"
#include "nvim/move.h"
+#include "nvim/mouse.h"
#include "nvim/ops.h"
#include "nvim/option.h"
#include "nvim/os_unix.h"
@@ -270,10 +271,6 @@ getcmdline (
setmouse();
ui_cursor_shape(); /* may show different cursor shape */
- /* When inside an autocommand for writing "exiting" may be set and
- * terminal mode set to cooked. Need to set raw mode here then. */
- settmode(TMODE_RAW);
-
init_history();
hiscnt = hislen; /* set hiscnt to impossible history value */
histype = hist_char2type(firstc);