2

windows terminal 远程 Linux 使用 vim 后出现重复的提示符

 2 years ago
source link: https://www.v2ex.com/t/845348
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  Windows

windows terminal 远程 Linux 使用 vim 后出现重复的提示符

  wsseo · 5 小时 7 分钟前 · 108 次点击
退出 VIM 后,会出现两个命令提示符,这样的
john@pc:~$ vi .profile
john@pc:~$ john@pc:~$ ls -a

好多个版本都有这个问题,一直搜索不到相关问题,
难道只有我遇到这个问题。

wsseo

wsseo      4 小时 20 分钟前

复现方法:
执行:q!退出 VIM 之前按 ESC 键

wsseo

wsseo      4 小时 9 分钟前

这个复现方法也不靠谱,没找到必现方法。

ysc3839

ysc3839      47 分钟前

建议改用别的终端。
Windows Terminal 要经过 conhost 中转,目标机子输出的数据,中间会经过各种处理才显示出来,很容易遇到 bug 。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK