-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting
Description
Windows Terminal version
1.23.12811.0
Windows build number
10.0.26200.0
Other Software
No response
Steps to reproduce
I have the following autocmd to reshape cursor to a vertical line when qutting neovim. When I upgrade neovim to the latest pre-release, the autocmd dose not work anymore. Cursor remains a block after qutting neovim.
-- autocmds.lua
local autocmds = vim.api.nvim_create_autocmd
local auto_group_reshape_cursor = vim.api.nvim_create_augroup("ReshapeCursor", { clear = true })
autocmds("VimLeave", {
pattern = "*",
command = "set guicursor=a:ver1",
group = auto_group_reshape_cursor,
desc = "Reshape cursor when exiting vim.",
})
-- init.lua
require("autocmds")Neovim version:
NVIM v0.12.0-dev-1775+g62dd74d472
Build type: RelWithDebInfo
LuaJIT 2.1.1764593432
Expected Behavior
Cursor is changed to a vertical line.
Actual Behavior
Cursor remains a block after qutting neovim.
Metadata
Metadata
Assignees
Labels
Issue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meetingIt's a new issue that the core contributor team needs to triage at the next triage meeting