奇怪的 tmux 状态栏渲染问题 iterm2
我在 iterm 中的 tmux 中遇到了这个奇怪的问题,它似乎在错误的行上渲染,但这会导致发生奇怪的渲染问题
您会注意到菜单栏偏移了一行。在大多数情况下,这很好,除了当我开始输入 tmux 命令时,我会得到如下行为:
我还注意到有时菜单栏会完全消失,我将无法显示我有哪些会话 打开。我还注意到,有时如果我用鼠标在终端中选择文本,它会从我期望选择的内容中选择一行文本。
我尝试了很多方法来调试这个问题,包括:
- 重新安装 tmux
- 清除 tmux-resurrect 历史记录
- 重新启动我的计算机
- 重新安装 iterm
- 调整 iterm 窗口大小(手动,以及使用 cmd+ 和 cmd,我有一个理论是触发的这种行为)
我还注意到,如果我在默认终端 macOS 应用程序中运行 tmux,它会正常运行,没有任何问题。
有人对我可以尝试的事情有什么想法吗?
I'm running into this strange issue with my tmux in iterm where it appears to be rendering on the wrong line, but this causes strange rendering issues to happen
You'll notice the menubar is offset by one line. This is fine, for the most part, except when I start entering tmux commands I get behavior like this:
I've also noticed that sometimes the menu bar will entirely disappear and I won't be able to show which sessions i have open. I've also noticed that sometimes if I select the text in my terminal with my mouse, it will select text one-line up from what I expected to select.
I've tried a bunch of things to debug this, including:
- re-install tmux
- clear tmux-resurrect history
- restart my computer
- reinstall iterm
- resizing the iterm window (both manually, and using cmd+ and cmd, which I have a theory was what triggered this behavior)
I've also noticed that if I run tmux in the default terminal macOS application it behaves normally with no issues.
Does anyone have any ideas of things I could try?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我取消了所有这些选项,奇怪的行为消失了。

I have unchecked all of these options, and the strange behavior disappears.
