fix(dashboard): set border = "none" on terminal sections (#1643)

## Description

Since 0.11, a new `vim.o.winborder` global option sets the borders for
all floating windows. Override this for terminal sections.
This commit is contained in:
François-Pierre Bouchard 2025-10-19 04:16:50 -04:00 committed by GitHub
parent 758e64c18f
commit 83f364f833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1062,6 +1062,7 @@ function M.sections.terminal(opts)
style = "minimal",
width = width,
win = self.win,
border = "none",
})
local hl = opts.hl and hl_groups[opts.hl] or opts.hl or "SnacksDashboardTerminal"
Snacks.util.wo(win, { winhighlight = "TermCursorNC:" .. hl .. ",NormalFloat:" .. hl })