[PATCH] chistedit: ensure a locale is set

Yuya Nishihara yuya at tcha.org
Wed Feb 20 00:01:28 EST 2019

On Tue, 19 Feb 2019 23:16:03 -0500, Jordi GutiƩrrez Hermoso wrote:
> On Wed, 2019-02-20 at 11:22 +0900, Yuya Nishihara wrote:
> > Perhaps, we shouldn't do setlocale() until curses is actually used.
> Hm, that's a good point. Move it to _chisteditmain? That's the entry
> point, I think.
> Or maybe we should make our own wrapper curses module so it can be
> demandimported and use that from both chistedit and crecord?

Maybe we can add a curses setup function that calls setlocale().

More information about the Mercurial-devel mailing list