macvim-dev / macvim-dev/macvim
Cursor disappears in terminal mode
Nobody has claimed this yet.
- Dominant language
- Vim Script
- Stars
- 7.9k
- Forks
- 691
- PR merge metrics
- No merged PRs in 30d
Description
Steps to reproduce
When using :tab term, the cursor is not visible after the prompt appears. Pressing <Esc> makes the block cursor become visible. However, while typing in insert mode (in the prompt), the cursor remains invisible.
Expected behaviour
Cursor should always be visible. I also do not see guicursor having options to set cursor for terminal prompt.
Version of Vim and architecture
latest
Environment
MacOS 15.3.1 with default zsh
How MacVim was installed
No response
Logs and stack traces
Vim configuration where issue is reproducable
No response
Issue has been tested with given configuration
- by running MacVim.app from GUI macOS interface
- by running vim/gvim/etc installed by MacVim
- by running other versions of vim (e.g. /usr/bin/vim)
Issue has been tested with no configuration
- by running
mvim --clean(orgvim, supplied by MacVim distribution) - by running
vim --clean(in terminal, supplied by MacVim distribution) - by running
vim --clean(in terminal, other suppliers, e.g. /usr/bin/vim)
Other conditions
- The both Homebrew packages "vim" and "macvim" are installed
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with :tab term on macOS, both after the prompt appears and while typing in insert mode. Read the terminal-mode cursor handling and the guicursor behavior, then verify that the block cursor remains visible in the prompt without requiring <Esc>.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, vim
- Domain
- cli, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100