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

bug? Visual-mode cursor is not removed #6

Closed
usagi opened this issue Jul 10, 2018 · 4 comments
Closed

bug? Visual-mode cursor is not removed #6

usagi opened this issue Jul 10, 2018 · 4 comments
Assignees
Labels
not a bug It works as intended
Projects

Comments

@usagi
Copy link

usagi commented Jul 10, 2018

Repro.

  1. Write something multiline
  2. Into the Visual-mode
  3. Select an area
  4. Do replace or something to selected area

Screenshot

image

@rhysd rhysd added the bug Something isn't working label Jul 10, 2018
@rhysd rhysd self-assigned this Jul 10, 2018
@rhysd rhysd added this to To do in Defects via automation Jul 10, 2018
@rhysd
Copy link
Owner

rhysd commented Jul 10, 2018

Thank you for reporting this. I could reproduce this and it seems a bug.

@szellmann
Copy link

Maybe related:

1.) Write sth.
2.) CTRL-V to blockwise visual mode, block-select first character of multiple lines
3.) Shift-I to block-insert multiple characters at the beginning of these lines, e.g. a few spaces for indentation. Spaces will, when entered, however not be inserted, but rather the cursor will move to the right (like pressing space in command mode).

I'm on macOS 10.13, with Safari 11.1 and Firefox 61.0.

@rhysd
Copy link
Owner

rhysd commented Jul 10, 2018

@szellmann Thank you for reporting another case. Root cause looks the same. I will also look into it.

@rhysd
Copy link
Owner

rhysd commented Jul 11, 2018

I confirmed that this is a correct behavior when building Vim with --with-features=tiny.

tmp

I agree that this looks weird behavior. But it is at least not a bug of vim.wasm. (It may be a bug of Vim itself)

@rhysd rhysd added not a bug It works as intended and removed bug Something isn't working labels Jul 11, 2018
@rhysd rhysd closed this as completed Jul 11, 2018
Defects automation moved this from To do to Done Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not a bug It works as intended
Projects
Defects
  
Done
Development

No branches or pull requests

3 participants