config: promote tweak.resize-delay-ms to a real, supported option

This commit is contained in:
Daniel Eklöf 2021-01-21 15:14:43 +01:00
parent 7cba42c5ce
commit 3a7588bc99
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 39 additions and 38 deletions

View file

@ -131,6 +131,25 @@ in this order:
Default: _2x2_.
*resize-delay-ms*
Time, in milliseconds, of "idle time" "before foot sends the new
window dimensions to the client application while doing an
interactive resize of a foot window. Idle time in this context is
a period of time where the window size is not changing.
In other words, while you are fiddling with the window size, foot
does not send the updated dimensions to the client. Only when you
pause the fiddling for *relay-size-ms* milliseconds is the client
updated.
Emphasis is on _while_ here; as soon as the interactive resize
ends (i.e. when you let go of the window border), the final
dimensions is sent to the client, without any delays.
Setting it to 0 disables the delay completely.
Default: _100_.
*initial-window-size-pixels*
Initial window width and height in _pixels_ (subject to output
scaling), on the form _WIDTHxHEIGHT_. The height _includes_ the
@ -677,25 +696,6 @@ any of these options.
larger font (and thus larger cells) result in thicker
lines. Default: _0.04_.
*resize-delay-ms*
Time, in milliseconds, of "idle time" "before foot sends the new
window dimensions to the client application while doing an
interactive resize of a foot window. Idle time in this context is
a period of time where the window size is not changing.
In other words, while you are fiddling with the window size, foot
does not send the updated dimensions to the client. Only when you
pause the fiddling for *relay-size-ms* milliseconds is the client
updated.
Emphasis is on _while_ here; as soon as the interactive resize
ends (i.e. when you let go of the window border), the final
dimensions is sent to the client, without any delays.
Setting it to 0 disables the delay completely.
Default: _100_.
*delayed-render-lower*, *delayed-render-upper*
These two values control the timeouts (in nanoseconds) that are
used to mitigate screen flicker caused by clients writing large,