mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-09 05:33:58 -04:00
Use frame callback to rate-limit surface updates
This commit is contained in:
parent
9ccc8433c3
commit
71703e7dc6
2 changed files with 39 additions and 2 deletions
3
slave.c
3
slave.c
|
|
@ -57,6 +57,9 @@ slave_spawn(int ptmx)
|
|||
const char *s = "hello\tbla\nfoobar\thaa";
|
||||
write(STDOUT_FILENO, s, strlen(s));
|
||||
|
||||
sleep(1);
|
||||
write(STDOUT_FILENO, "yeehaa", 6);
|
||||
|
||||
sleep(1000);
|
||||
|
||||
err:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue