Pequeños cambios en la inicialización
This commit is contained in:
parent
5cb135a0e2
commit
deaea1a950
@ -42,6 +42,8 @@ void showMenu(vector<string> *menu_elems, const int8_t *num_menu,
|
||||
void showMenu(vector<string> *menu_elems, const int8_t *num_menu);
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
locale::global(locale("es_ES.utf8"));
|
||||
|
||||
if (ui::initUI(&MENU_PRINCIPAL, &MENU_ERROR) != 0) {
|
||||
return -1;
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
#include "ui.hpp"
|
||||
#include "configFile.hpp"
|
||||
#include <locale>
|
||||
|
||||
using namespace std;
|
||||
|
||||
@ -13,7 +12,6 @@ bool ui::g_mensaje = false;
|
||||
|
||||
int8_t ui::initUI(const int8_t *menu_principal, const int8_t *menu_error) {
|
||||
/*TODO hacer que la interfaz lea la localización*/
|
||||
locale::global(locale("es_ES.utf8"));
|
||||
initscr();
|
||||
noecho();
|
||||
cbreak();
|
||||
|
Loading…
x
Reference in New Issue
Block a user