]> git.ipfire.org Git - thirdparty/haproxy.git/commit
EXAMPLES: lua: avoid screen refresh effect in "trisdemo"
authorBaptiste Assmann <bassmann@haproxy.com>
Wed, 23 Apr 2025 08:36:37 +0000 (10:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 May 2025 10:00:53 +0000 (12:00 +0200)
commitb437094853c15504dbde74e37c0bfcb20755eef4
tree5eb0eb860c3d822021d39bc4dfcbee8ca5d29449
parent8b121ab6f795376b4eff5d52a63437cddd3e8a74
EXAMPLES: lua: avoid screen refresh effect in "trisdemo"

In current version of the game, there is a "screen refresh" effect: the
screen is cleared before being re-drawn.
I moved the clear right after the connection is opened and removed it
from rendering time.
examples/lua/trisdemo.lua