Fix non-C locale issues in REPL

This commit is contained in:
byte 2022-05-04 21:04:37 +02:00
parent 47a8d28aa9
commit 85a0fbc712

View file

@ -435,6 +435,9 @@ static void runReplImpl(lua_State* L)
{
ic_set_default_completer(completeRepl, L);
// Reset the locale to C
setlocale(LC_ALL, "C");
// Make brace matching easier to see
ic_style_def("ic-bracematch", "teal");