zsh-vi-mode icon indicating copy to clipboard operation
zsh-vi-mode copied to clipboard

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

Open zzJinux opened this issue 8 months ago • 1 comments

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

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

Problem description

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

https://github.com/jeffreytse/zsh-vi-mode/assets/6695226/40512ca4-eaa5-480d-bcab-70ef4922daa8

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 avatar Jun 03 '24 13:06 zzJinux