fix(txt): append ')]}' to LV_TXT_BREAK_CHARS (#3675)

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
This commit is contained in:
_VIFEXTech 2022-09-09 05:29:38 +08:00 committed by GitHub
parent 3812f6cc85
commit f9eb73bfae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -654,7 +654,7 @@ menu "LVGL configuration"
config LV_TXT_BREAK_CHARS
string "Can break (wrap) texts on these chars"
default " ,.;:-_"
default " ,.;:-_)]}"
config LV_TXT_LINE_BREAK_LONG_LEN
int "Line break long length"

View File

@ -407,7 +407,7 @@
#define LV_TXT_ENC LV_TXT_ENC_UTF8
/*Can break (wrap) texts on these chars*/
#define LV_TXT_BREAK_CHARS " ,.;:-_"
#define LV_TXT_BREAK_CHARS " ,.;:-_)]}"
/*If a word is at least this long, will break wherever "prettiest"
*To disable, set to a value <= 0*/

View File

@ -1271,7 +1271,7 @@
#ifdef CONFIG_LV_TXT_BREAK_CHARS
#define LV_TXT_BREAK_CHARS CONFIG_LV_TXT_BREAK_CHARS
#else
#define LV_TXT_BREAK_CHARS " ,.;:-_"
#define LV_TXT_BREAK_CHARS " ,.;:-_)]}"
#endif
#endif