summaryrefslogtreecommitdiffstats
path: root/src/proto/getchar.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-06-07 18:29:17 +0200
committerBram Moolenaar <Bram@vim.org>2021-06-07 18:29:17 +0200
commit3a7503c34c65ed15cc08deb5b54aaf2ea51525b4 (patch)
treedaa9ac7e436c54459ab4971578929dc0b30779be /src/proto/getchar.pro
parentf05d2fc539c389c3b8142d9fb06fb0443de14902 (diff)
patch 8.2.2957: using getchar() in Vim9 script is problematicv8.2.2957
Problem: Using getchar() in Vim9 script is problematic. Solution: Add getcharstr(). (closes #8343)
Diffstat (limited to 'src/proto/getchar.pro')
-rw-r--r--src/proto/getchar.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro
index cb8b7507e1..25aef1c01a 100644
--- a/src/proto/getchar.pro
+++ b/src/proto/getchar.pro
@@ -46,6 +46,7 @@ int vpeekc_nomap(void);
int vpeekc_any(void);
int char_avail(void);
void f_getchar(typval_T *argvars, typval_T *rettv);
+void f_getcharstr(typval_T *argvars, typval_T *rettv);
void f_getcharmod(typval_T *argvars, typval_T *rettv);
void parse_queued_messages(void);
void vungetc(int c);