mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 08:48:16 +00:00

committed by
Thiago de Arruda

parent
1684bec635
commit
3cac32e49c
@@ -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.
|
||||
|
Reference in New Issue
Block a user