From 3cf4b14e966ec04371d38af6451bc69eaadb425b Mon Sep 17 00:00:00 2001 From: chemzqm Date: Sat, 26 Nov 2016 07:39:33 +0800 Subject: 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 --- src/nvim/api/ui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nvim/api/ui.c') diff --git a/src/nvim/api/ui.c b/src/nvim/api/ui.c index 56b41f1eea..9178538110 100644 --- a/src/nvim/api/ui.c +++ b/src/nvim/api/ui.c @@ -271,6 +271,8 @@ static void remote_ui_mode_change(UI *ui, int mode) ADD(args, STRING_OBJ(cstr_to_string("insert"))); } else if (mode == REPLACE) { ADD(args, STRING_OBJ(cstr_to_string("replace"))); + } else if (mode == CMDLINE) { + ADD(args, STRING_OBJ(cstr_to_string("cmdline"))); } else { assert(mode == NORMAL); ADD(args, STRING_OBJ(cstr_to_string("normal"))); -- cgit