fix(dahboard): do full terminal reset when receiving first output and displayed cached contents
Some checks are pending
CI / ci (push) Waiting to run

This commit is contained in:
Folke Lemaitre 2025-10-24 23:49:19 +02:00
parent 6f72643323
commit c9528341a6
No known key found for this signature in database
GPG key ID: 9B52594D560070AB

View file

@ -1032,7 +1032,7 @@ function M.sections.terminal(opts)
end
if first and has_cache then -- clear the screen if cache was expired
first = false
send("\27[H\27[2J") -- clear screen
send("\27c") -- clear screen
end
pcall(send, data)
end,