Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix handling of multibyte characters (at start of display area)
Previously a sequence of Unicode REPLACEMENT CHARACTER was displayed. Use an explicitly initialized mbstate_t object in the call to mbrtowc(). While this should not strictly be necessary, it works around a bug in certain implementations. Closes martanne#56.
- Loading branch information