mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 02:38:46 +00:00
fix(dashboard): always hide cursor
This commit is contained in:
parent
4188446f86
commit
68fcc25802
1 changed files with 1 additions and 1 deletions
|
@ -957,7 +957,7 @@ function M.sections.terminal(opts)
|
|||
win = self.win,
|
||||
})
|
||||
local hl = opts.hl and hl_groups[opts.hl] or opts.hl or "SnacksDashboardTerminal"
|
||||
Snacks.util.wo(win, { winhighlight = "NormalFloat:" .. hl })
|
||||
Snacks.util.wo(win, { winhighlight = "TermCursorNC:" .. hl .. ",NormalFloat:" .. hl })
|
||||
local close = vim.schedule_wrap(function()
|
||||
stopped = true
|
||||
pcall(vim.api.nvim_win_close, win, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue