about summary refs log tree commit diff stats
path: root/src/version.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-26 17:06:46 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-26 17:13:04 +0100
commitd74933cf04e79e08f3623c6dd1c112fa26a7a4df (patch)
tree28f7b49fdcf72c4d377fe51a3f6bc2c4984d9ef1 /src/version.nim
parent973e8f942855fe9a17f0245948984bf9841f9ffa (diff)
downloadchawan-d74933cf04e79e08f3623c6dd1c112fa26a7a4df.tar.gz
buffer: clean up onload, fix console update
* reduce onload result size to a single int
* clean up mess that was the container onload handler

This fixes automatic refresh in console. Before, the client would
only request a screen update after receiving the number of bytes read,
but before the screen was actually reshaped (which obviously resulted
in a race condition). Now, "I've reshaped the document" is a separate
response (and is the only occasion where the screen is updated before
the final render).
Diffstat (limited to 'src/version.nim')
0 files changed, 0 insertions, 0 deletions