TMUX,NVIM或Windows终端在错误的窗格上放了一些线

发布于 2025-02-09 11:48:51 字数 744 浏览 2 评论 0原文

我已经使用了NVIM和TMUX一段时间了,但是最近我遇到了一些问题。我似乎在我的IDE上遇到了一些怪异的文物,这些文物通常涉及放错位置或重复的线条。

下面,您可以看到一个问题的示例:

左侧是我的某个代码,右边是一个嘲笑的测试控制台。垂直分开是用Tmux进行的,您可以看到,在第2、4、15、20、22、27、29、37及以下的第2、4、15、22、27、29、37行中,右窗格的内容显示在左窗格上。

这是一个例子,但是我也一直在代码的复制等问题。

请注意,此代码实际上都不存在,我无法选择它。有时,我可以通过进入Visual Block模式并选择混乱的线条来消除它。不过,这并不总是有效。

还有其他人有这个问题吗?我无法确定问题是否在于TMUX,NVIM或Windows终端。

tmux version: 3.0a

NVIM version: 0.7.0-dev

Windows Terminal version: 1.13.11431.0

希望有人可以帮助我!

请事先感谢您;)

I've been using nVim and tmux for a while now, but recently I've been having some problems. I seem to be getting some weird artifacts across my IDE which usually involve misplaced or duplicated lines.

Below, you can see an example of the problem:
A screenshot of the problem. There are two panes created by tmux, with a vertical split between them. On the left side is some code and on the right is a jest testing console. For some reason though, some of the jest testing lines are being displayed on the side of the code and are showing blank on the correct side.

On the left is some code of mine, and on the right is a Jest testing console. The vertical split is made with tmux and as you can see, on lines 2, 4, 15, 20, 22, 27, 29, 37 and lower, the content from the right pane is displaying on the left pane.

This is one example, but I also have been having problems with duplication of code etc.

Note, none of this code actually exists and I cannot select it. Sometimes I can get it to go away by going into VISUAL BLOCK mode and selecting the messed up lines. This doesn't always work though.

Has anybody else had this issue? I can't tell if the problem lies with tmux, nvim or windows terminal.

tmux version: 3.0a

NVIM version: 0.7.0-dev

Windows Terminal version: 1.13.11431.0

Hope somebody can help me!

Please and thank you in advance ;)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

归属感 2025-02-16 11:48:52

我很确定这是通过

在Tmux Split Panes中渲染错误来跟踪的
Microsoft/terminal#6987

对不起,我还没有解决方案的解决方案

I'm pretty sure this is tracked by

Rendering errors in tmux split panes:
microsoft/terminal#6987

Sorry I don't have a solution for that one yet ????

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文