mu: use locale_workaround for tables
The tabulate package triggers some locale exception, let's attempt to work around it.
This commit is contained in:
@ -406,6 +406,9 @@ cmd_info(const Mu::Store& store, const MuConfig* opts)
|
||||
{
|
||||
using namespace tabulate;
|
||||
|
||||
if (!locale_workaround())
|
||||
return Err(Error::Code::User, "failed to find a working locale");
|
||||
|
||||
auto colorify = [](Table& table) {
|
||||
for (auto&& row: table) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user