Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Account for parsecmd() resetting the locale. The locale needs to be restored prior to libedit regaining control. * Do not bother escaping unknown characters that would be taken as literal. It is unnecessary and interacts badly with --enable-parser-locale: when the parser locale is C, the global locale is a multibyte character set, and the text contains any multibyte characters when interpreted according to the global locale, but invalid bytes when interpreted according to the parser locale, escaping each invalid byte renders the resulting string invalid in the global locale.
- Loading branch information