Skip to content

Conversation

elymination
Copy link
Contributor

This adds proper UTF-8 support for messages history and its clearing mechanism.

Prior to this, the number of trailing spaces used to clear the 'pushed' messages in the history was not taking into account that a single character could be on more than one byte (e.g is U+3141 and is represented by three bytes) and it was causing issue with 'partial' line clearing.

Here is an example with the aforementioned character:
example

@zayKenyon zayKenyon self-assigned this Jul 2, 2023
@zayKenyon zayKenyon merged commit d71c68e into zayKenyon:main Jul 23, 2023
@zayKenyon zayKenyon added this to the 2.6 milestone Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants