mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
fix(dahboard): do full terminal reset when receiving first output and displayed cached contents
Some checks are pending
CI / ci (push) Waiting to run
Some checks are pending
CI / ci (push) Waiting to run
This commit is contained in:
parent
6f72643323
commit
c9528341a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue