@ -336,6 +336,7 @@ int main(void){
return EXIT_FAILURE;
}
notcurses_options nopts{};
nopts.loglevel = NCLOGLEVEL_ERROR;
nopts.flags = NCOPTION_INHIBIT_SETLOCALE;
NotCurses nc(nopts);
nc.mouse_enable(); // might fail if no mouse is available
@ -12,12 +12,12 @@ gpmwatcher(void* vti){
(void)ti; // FIXME
Gpm_Event gev;
while(true){
if(Gpm_GetEvent(&gev)){
if(!Gpm_GetEvent(&gev)){
logerror("error reading from gpm daemon\n");
break;
continue;
loginfo("got gpm event\n");
// FIXME
// FIXME decode event and enqueue to input layer
return NULL;