Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle multibyte characters in search window context
Grabbing a certain number of bytes before and after the search term to display will mostly work for English text. But not always! We might end up chopping a multibyte character in half. Detect if this happens and shorten the string not to include the invalid character.
- Loading branch information