aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2017-08-16 15:38:12 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2017-10-26 20:28:49 +0200
commitf2aaa4ae8b84f74666b4379b391f333f34868a45 (patch)
treef01d90c406c8b1411521a5126370add5a2e5e7bb /src
parenta68817f56517a31943806bd0b5a0030cdd35e182 (diff)
downloadrneovim-f2aaa4ae8b84f74666b4379b391f333f34868a45.tar.gz
rneovim-f2aaa4ae8b84f74666b4379b391f333f34868a45.tar.bz2
rneovim-f2aaa4ae8b84f74666b4379b391f333f34868a45.zip
ext_cmdline: rename cmdline_char to cmdline_special_char
Diffstat (limited to 'src')
-rw-r--r--src/nvim/api/ui_events.in.h2
-rw-r--r--src/nvim/ex_getln.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/api/ui_events.in.h b/src/nvim/api/ui_events.in.h
index 764078c6bd..65357d008a 100644
--- a/src/nvim/api/ui_events.in.h
+++ b/src/nvim/api/ui_events.in.h
@@ -73,7 +73,7 @@ void cmdline_show(Array content, Integer pos, String firstc, String prompt,
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void cmdline_pos(Integer pos, Integer level)
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
-void cmdline_char(String c, Integer shift, Integer level)
+void cmdline_special_char(String c, Boolean shift, Integer level)
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
void cmdline_hide(Integer level)
FUNC_API_SINCE(3) FUNC_API_REMOTE_ONLY;
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c
index 50cccc8d10..b9cf7b977c 100644
--- a/src/nvim/ex_getln.c
+++ b/src/nvim/ex_getln.c
@@ -2805,7 +2805,8 @@ void putcmdline(int c, int shift)
}
msg_no_more = false;
} else {
- ui_call_cmdline_char(cchar_to_string((char)(c)), shift, ccline.level);
+ ui_call_cmdline_special_char(cchar_to_string((char)(c)), shift,
+ ccline.level);
}
cursorcmd();
ui_cursor_shape();