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

Weird behaviour after pressing Insert key in vim mode #1421

Open
Blockguy24 opened this issue Jun 21, 2024 · 0 comments
Open

Weird behaviour after pressing Insert key in vim mode #1421

Blockguy24 opened this issue Jun 21, 2024 · 0 comments
Labels

Comments

@Blockguy24
Copy link

When using the editor in Vim mode, pressing the Insert key while in vim mode changes the cursor from a line to a block and the editor enters replace mode. There are two issues:

  • Pressing the Insert key again does not exit replace mode
  • After pressing Escape to go to normal mode, and pressing i to enter insert mode, the cursor no longer changes into a line but stays as a block, but this seems to be a visual bug

Game version: Bitburner v2.6.1 (e8a8258)

Reproduction steps:

These steps assume that the cursor style in editor settings is set to "line"

  1. Enter vim test.txt in the terminal (exact filename does not matter)
  2. Press i to enter insert mode
  3. Type some text such as the quick brown fox jumps over the lazy dog
  4. Go to the start of the line with the Home key or arrow keys or some other method
  5. Press the Insert key
  6. Type some text such as aaa. This will replace the text as expected.
  7. Press Insert again
  8. Type some more text. The text will continue to be replaced. This is the first issue.
  9. Press Escape to enter normal mode
  10. Press i to enter insert mode again. The cursor remains as a block instead of switching to a line. This is the second issue.
@gmcew gmcew added the UI bug label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants