#include "TerminalWidget.h" #include #include #include Result luna_main(int, char**) { ui::App app; TRY(app.init()); auto* window = TRY(ui::Window::create(ui::Rect { 150, 150, 640, 400 })); app.set_main_window(window); window->set_title("Terminal"); auto* terminal = TRY(window->create_main_widget()); char* args[] = { "/bin/sh", nullptr }; TRY(terminal->init(args)); return app.run(); }