blob: cc467e9eb55dceb35868e66474cbddc7032a91e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--- a/src/console.c
+++ b/src/console.c
@@ -54,3 +54,3 @@
if (buffer[position] != 0) {
- return position + grapheme_next_character_break(buffer + position, SIZE_MAX);
+ return position + grapheme_next_character_break_utf8(buffer + position, SIZE_MAX);
} else {
@@ -87,3 +87,3 @@
do {
- step = grapheme_next_character_break(buffer + result, SIZE_MAX);
+ step = grapheme_next_character_break_utf8(buffer + result, SIZE_MAX);
if (result + step >= position)
|