Newer
Older
#include "lib/gettext/translations.hpp"
#include "lib/nccpp/ncursescpp.hpp"
using rmrf::ui::display;
std::cout << "Hallo" << std::endl;
setlocale(LC_ALL, "");
bindtextdomain("rmrf", "/usr/share/locale");
auto h_nc = std::make_shared<display>();
// Start main loop of RMRF here
h_nc->sync([](const display::ptr_type &) {
mvprintw(0, 0, _("Starting RMRF…"));
});