mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
Terminal: Use a more reasonable data structure for the emulation buffer.
This commit is contained in:
parent
e28de4ad5e
commit
a4a106a430
3 changed files with 62 additions and 43 deletions
|
@ -93,6 +93,7 @@ int main(int, char**)
|
|||
byte buffer[1024];
|
||||
ssize_t nread = read(ptm_fd, buffer, sizeof(buffer));
|
||||
if (nread < 0) {
|
||||
dbgprintf("Terminal read error: %s\n", strerror(errno));
|
||||
perror("read(ptm)");
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue