Hello, Dave Mielke, le sam. 03 nov. 2018 18:37:55 -0400, a ecrit: > uint8_t header[4]; > read(vcsa, header, sizeof(header)); > off_t offset = ((header[3] * header[1]) + header[2]) * sizeof(character); > wchar_t character; > read(vcsu, offset, sizeof(character)); > > You should use poll() to wait for changes to the screen content.
I'm however wondering, how do make sure not to miss updates? read(vcsu) ... kernel updates the screen ... poll(); I guess poll will immediately return, because something happened since the last read? Samuel _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
