summaryrefslogtreecommitdiffstats
path: root/src/proto/mbyte.pro
diff options
context:
space:
mode:
authormikoto2000 <mikoto2000@gmail.com>2024-04-17 22:06:54 +0200
committerChristian Brabandt <cb@256bit.org>2024-04-17 22:06:54 +0200
commite20fa59903525e15cecd680a2f32ece8a5d1bc0c (patch)
tree3d98c187460597c6d76c28b16faab77723425213 /src/proto/mbyte.pro
parentacdfb8a97995e0f81832207e39564ba795281108 (diff)
patch 9.1.0344: Cursor wrong after using setcellwidth() in terminalv9.1.0344
Problem: Cursor wrong after using setcellwidth() in terminal (mikoto2000) Solution: output additional spaces, so the behaviour matches the GUI (mikoto2000) fixes: #14539 closes: #14540 Signed-off-by: mikoto2000 <mikoto2000@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org> Fix CUI `setcellwidths` characters draw behavior to same GUI behavior.
Diffstat (limited to 'src/proto/mbyte.pro')
-rw-r--r--src/proto/mbyte.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/mbyte.pro b/src/proto/mbyte.pro
index 7883b3b4c7..c57c94c8ae 100644
--- a/src/proto/mbyte.pro
+++ b/src/proto/mbyte.pro
@@ -85,6 +85,7 @@ int convert_input(char_u *ptr, int len, int maxlen);
int convert_input_safe(char_u *ptr, int len, int maxlen, char_u **restp, int *restlenp);
char_u *string_convert(vimconv_T *vcp, char_u *ptr, int *lenp);
char_u *string_convert_ext(vimconv_T *vcp, char_u *ptr, int *lenp, int *unconvlenp);
+int get_cellwidth(int c);
void f_setcellwidths(typval_T *argvars, typval_T *rettv);
void f_getcellwidths(typval_T *argvars, typval_T *rettv);
void f_charclass(typval_T *argvars, typval_T *rettv);