kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
23.34k stars 1.8k forks source link

VIM edit mode cannot paste large text #1288

Open BoomYoung opened 2 years ago

BoomYoung commented 2 years ago

In vim editing mode, pasting large text with ctrl+v will cause some bugs:

  1. The copied content can only be pasted partially, and then stopped

  2. The keyboard input is garbled, and ESC cannot exit the vim paste mode

Environment: mac m1, WindTerm version 2.5.0

PS: The same remote host does’ t have this problem in iTerm or SecureCRT, so the reason for vim configuration is ruled out

(在vim编辑模式下,ctrl+v粘贴大文本会导致一些BUG:

  1. 复制的内容只能粘贴一部分,然后卡住
  2. 键盘乱码,ESC无法退出vim paste模式

环境:mac m1, WindTerm 2.5.0版本 PS: 同一个远程主机在iTerm和SecureCRT中未出现该问题,所以排除是vim配置问题导致的可能)

bertreyking commented 4 months ago

me too, 希望解决下,甚至应为这个bug,我都想换工具了,奈何 mac 没有 mobaxterm

yocdynysscvip commented 3 weeks ago

When I connect to my Mac through a Shell session and try to paste long content using the vim or vi editor, it displays a lot of repeating characters such as ^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB^[OB. However, when I connect to a Linux server through a new session and use vim to edit and paste the same content, there are no encoding issues. Additionally, when I use the default terminal on my Mac to edit, there are also no encoding issues. I have tried modifying the session configuration multiple times, but the issue persists. The problem from October 2022 still exists, and it's almost 2025 now. Is the author of this useful tool giving up?

yocdynysscvip commented 3 weeks ago

This problem makes it very difficult to use Windterm.