mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
add cmdline mode to modechange of RPC and tests
use set_cursor_shape_bar for cmdline mode fix test of screen_basic_spec.lua & screen.lua comment fix
This commit is contained in:
@@ -374,7 +374,8 @@ function Screen:_handle_mouse_off()
|
||||
end
|
||||
|
||||
function Screen:_handle_mode_change(mode)
|
||||
assert(mode == 'insert' or mode == 'replace' or mode == 'normal')
|
||||
assert(mode == 'insert' or mode == 'replace'
|
||||
or mode == 'normal' or mode == 'cmdline')
|
||||
self.mode = mode
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user