This commit is contained in:
Nishi 2026-06-01 13:50:35 +09:00
commit 3072248158
19 changed files with 193 additions and 36 deletions

View file

@ -11,14 +11,15 @@ static void cleanup(int sig){
#endif
int main(){
fishbone::Window* wnd;
fishbone::Client* client;
std::unordered_map<std::string, std::vector<std::string>> param;
client = new fishbone::Client(param);
#ifndef _WIN32
signal(SIGINT, cleanup);
signal(SIGTERM, cleanup);
#endif
wnd = new fishbone::Window("Fishbowl", 800, 600);
while(!quit);
while(!quit && client->step());
}