mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05: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
|
||||
* do it immediately. Often, a single client operation
|
||||
* is done through multiple writes. Many times, we're
|
||||
* so fast that we render mid-operation frames.
|
||||
* We likely need to re-render. But, we don't want to do it
|
||||
* immediately. Often, a single client update is done through
|
||||
* multiple writes. This could lead to us rendering one frame with
|
||||
* "intermediate" state.
|
||||
*
|
||||
* For example, we might end up rendering a frame
|
||||
* where the client just erased a line, while in the
|
||||
* next frame, the client wrote to the same line. This
|
||||
* causes screen "flashes".
|
||||
* causes screen "flickering".
|
||||
*
|
||||
* Mitigate by always incuring a small delay before
|
||||
* rendering the next frame. This gives the client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue