diff options
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 15 |
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. |