Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Press ESC once to exit insert mode, cursor display issue #28731

Open
zgpio opened this issue May 13, 2024 · 6 comments
Open

Press ESC once to exit insert mode, cursor display issue #28731

zgpio opened this issue May 13, 2024 · 6 comments
Labels
bug issues reporting wrong behavior needs:repro We need minimal steps to reproduce the issue needs:response waiting for reply from the author tui

Comments

@zgpio
Copy link

zgpio commented May 13, 2024

Problem

Press ESC once to exit insert mode, cursor display issue

Steps to reproduce

init.vim

let &g:statusline="%#Visual#%{'['.winnr().']'}%#Normal#
      \ %{(&previewwindow?'[preview] ':'').expand('%:p:~:.')}%m
      \ %=%{(winnr('$')==1 || winnr('#')!=winnr()) ? '['.(&filetype!=''?&filetype.',':'').(&fenc!=''?&fenc:&enc).','.&ff.']' : ''}
      \ %{printf('%'.(len(line('$'))+2).'d/%d',line('.'),line('$'))}"

" If you annotate this line, there won't be this problem
set noshowmode

vim -u init.vim

Expected behavior

Press ESC once to exit insert mode, cursor display issue

Neovim version (nvim -v)

nightly

Vim (not Nvim) behaves the same?

dontknow

Operating system/version

windows 10

Terminal name/version

windows terminal 1.21.1272.0

$TERM environment variable

x

Installation

x

@zgpio zgpio added the bug issues reporting wrong behavior label May 13, 2024
@zeertzjq
Copy link
Member

Can you provide a screen recording?

@zeertzjq zeertzjq added the needs:response waiting for reply from the author label May 13, 2024
@zgpio
Copy link
Author

zgpio commented May 13, 2024

sorry, i cant. can you reproduce

@github-actions github-actions bot removed the needs:response waiting for reply from the author label May 13, 2024
@zeertzjq
Copy link
Member

zeertzjq commented May 13, 2024

What cursor display issue? Is it displayed at the wrong position or with a wrong shape?

@zeertzjq zeertzjq added the needs:response waiting for reply from the author label May 13, 2024
@zgpio
Copy link
Author

zgpio commented May 13, 2024

wrong shape

@github-actions github-actions bot removed the needs:response waiting for reply from the author label May 13, 2024
@zgpio
Copy link
Author

zgpio commented May 13, 2024

seems regression ,I remember there was no problem before

@glepnir
Copy link
Member

glepnir commented May 13, 2024

you can try bisect to find out which commit break..

@justinmk justinmk added tui needs:response waiting for reply from the author needs:repro We need minimal steps to reproduce the issue labels May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior needs:repro We need minimal steps to reproduce the issue needs:response waiting for reply from the author tui
Projects
None yet
Development

No branches or pull requests

4 participants