Allow UTF-8 characters of width 0 to be stored, it is useful to be able

to put padding cells in as width 0.
This commit is contained in:
nicm
2020-06-02 20:10:23 +00:00
parent f5366ff828
commit 2a4d4bda2b
4 changed files with 28 additions and 34 deletions

2
tmux.h
View File

@ -2902,7 +2902,7 @@ u_int session_group_attached_count(struct session_group *);
void session_renumber_windows(struct session *);
/* utf8.c */
utf8_char utf8_build_one(char, u_int);
utf8_char utf8_build_one(u_char);
enum utf8_state utf8_from_data(const struct utf8_data *, utf8_char *);
void utf8_to_data(utf8_char, struct utf8_data *);
void utf8_set(struct utf8_data *, u_char);