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

A character after the cursor gets deleted on return (JediTerm) #283

Open
3 tasks done
zzJinux opened this issue Jun 3, 2024 · 1 comment
Open
3 tasks done

A character after the cursor gets deleted on return (JediTerm) #283

zzJinux opened this issue Jun 3, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@zzJinux
Copy link

zzJinux commented Jun 3, 2024

General information

  • Terminal program: unknown unknown (xterm-256color)
  • Operating system: macOS 14.5 (23F79)
  • ZSH framework: starship 1.18.2
  • ZSH version: zsh 5.9 (arm-apple-darwin22.1.0)
  • ZVM version: zsh-vi-mode 0.11.0
  • JediTerm: IntelliJ IDEA 2024.1.2 (Ultimate Edition)

Basic examination

  • I have read through the README page
  • I have the latest version of zsh-vi-mode
  • I have tested with another terminal program

Problem description

The only plugins enabled are zsh-vi-mode and powerline10k.

Screen.Recording.2024-06-03.at.22.16.04.mov

The glitch cannot be captured by asciinema recording.

Reproduction steps

  1. Open a JediTerm window (or the one integrated into JetBrains IDEs)
  2. Type anything to the prompt and move the cursor between characters.
  3. Hit the return
  4. The character after the cursor disappears or is replaced with a space (0x20).

In other terminals like iTerm2, it works as intended.

The native zsh VI binding without zsh-vi-mode has no issue.

Expected behavior

Characters are intact.

@zzJinux
Copy link
Author

zzJinux commented Jun 18, 2024

More observations

  1. What's appended to the history is not corrupted.
  2. In the normal mode, a character at the block-shaped cursor gets deleted in the POV of the terminal buffer.

@jeffreytse jeffreytse self-assigned this Jun 18, 2024
@jeffreytse jeffreytse added the bug Something isn't working label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants