aboutsummaryrefslogtreecommitdiff
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-10 02:02:40 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-10 05:55:59 -0300
commit3cac32e49c7fae9cf5963d35f3fd3052c061b2fa (patch)
treeb62282c3caa75fefd33d63d272893a0cdbc92fb0 /src/ex_getln.c
parent1684bec63571583f14065cfb614153df125b97e8 (diff)
downloadrneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.tar.gz
rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.tar.bz2
rneovim-3cac32e49c7fae9cf5963d35f3fd3052c061b2fa.zip
Remove CURSOR_SHAPE #ifdef tests
See issue #333
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 3b188f1a20..aad9993354 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -294,9 +294,7 @@ getcmdline (
#endif
setmouse();
-#ifdef CURSOR_SHAPE
ui_cursor_shape(); /* may show different cursor shape */
-#endif
/* When inside an autocommand for writing "exiting" may be set and
* terminal mode set to cooked. Need to set raw mode here then. */
@@ -866,9 +864,8 @@ getcmdline (
beep_flush();
else
ccline.overstrike = !ccline.overstrike;
-#ifdef CURSOR_SHAPE
+
ui_cursor_shape(); /* may show different cursor shape */
-#endif
goto cmdline_not_changed;
case Ctrl_HAT:
@@ -908,9 +905,7 @@ getcmdline (
else
set_imsearch_global();
}
-#ifdef CURSOR_SHAPE
ui_cursor_shape(); /* may show different cursor shape */
-#endif
/* Show/unshow value of 'keymap' in status lines later. */
status_redraw_curbuf();
goto cmdline_not_changed;
@@ -1563,9 +1558,7 @@ returncmd:
im_set_active(FALSE);
#endif
setmouse();
-#ifdef CURSOR_SHAPE
ui_cursor_shape(); /* may show different cursor shape */
-#endif
{
char_u *p = ccline.cmdbuff;
@@ -1967,8 +1960,6 @@ redraw:
return (char_u *)line_ga.ga_data;
}
-# if defined(MCH_CURSOR_SHAPE) || defined(FEAT_GUI) \
- || defined(FEAT_MOUSESHAPE) || defined(PROTO)
/*
* Return TRUE if ccline.overstrike is on.
*/
@@ -1983,10 +1974,6 @@ int cmdline_at_end(void) {
return ccline.cmdpos >= ccline.cmdlen;
}
-#endif
-
-
-
/*
* Allocate a new command line buffer.
* Assigns the new buffer to ccline.cmdbuff and ccline.cmdbufflen.