mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-30 11:10:23 -04:00
term: language
This commit is contained in:
parent
82b8853f17
commit
92376eae01
1 changed files with 5 additions and 5 deletions
10
terminal.c
10
terminal.c
|
|
@ -168,15 +168,15 @@ fdm_ptmx(struct fdm *fdm, int fd, int events, void *data)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We likely need to re-render. But, we don't want to
|
* We likely need to re-render. But, we don't want to do it
|
||||||
* do it immediately. Often, a single client operation
|
* immediately. Often, a single client update is done through
|
||||||
* is done through multiple writes. Many times, we're
|
* multiple writes. This could lead to us rendering one frame with
|
||||||
* so fast that we render mid-operation frames.
|
* "intermediate" state.
|
||||||
*
|
*
|
||||||
* For example, we might end up rendering a frame
|
* For example, we might end up rendering a frame
|
||||||
* where the client just erased a line, while in the
|
* where the client just erased a line, while in the
|
||||||
* next frame, the client wrote to the same line. This
|
* next frame, the client wrote to the same line. This
|
||||||
* causes screen "flashes".
|
* causes screen "flickering".
|
||||||
*
|
*
|
||||||
* Mitigate by always incuring a small delay before
|
* Mitigate by always incuring a small delay before
|
||||||
* rendering the next frame. This gives the client
|
* rendering the next frame. This gives the client
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue