[GH-ISSUE #2221] 进入 tmux 后 ctrl + 方向上 会出现 Normal buffer content 的窗口 #1389

Closed
opened 2026-02-27 00:03:21 +03:00 by kerem · 2 comments
Owner

Originally created by @ghost on GitHub (Aug 19, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2221

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version:

1.16.1

Operating system(linux, macos, or windows7/8/10?):

本地机器 windows10,目标机器 ubuntu20.04 server

Expected Behavior

不出现Normal buffer content 的窗口

tmux 里的 ctrl + 方向上 用来切换窗口,弹出这个窗口比较碍事

Can you reproduce the same behavior in other terminal:

别的term工具没有这个问题

Current Behavior

不进tmux同样的操作不会出现这个窗口

Possible Solution

这个窗口有什么作用?是否可以取消掉?

Steps to Reproduce

1.进入tmux
2. 按 ctrl + 方向上

Originally created by @ghost on GitHub (Aug 19, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2221 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: 1.16.1 ## Operating system(linux, macos, or windows7/8/10?): 本地机器 windows10,目标机器 ubuntu20.04 server ## Expected Behavior <!--- Tell me what should happen --> 不出现Normal buffer content 的窗口 tmux 里的 ctrl + 方向上 用来切换窗口,弹出这个窗口比较碍事 ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> 别的term工具没有这个问题 ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> 不进tmux同样的操作不会出现这个窗口 ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> 这个窗口有什么作用?是否可以取消掉? ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.进入tmux 2. 按 ctrl + 方向上
kerem 2026-02-27 00:03:21 +03:00
Author
Owner

@ghost commented on GitHub (Aug 19, 2021):

这个窗口貌似不是太常用,能不能换个快捷键或者取消这个快捷键?

当用户在终端操作时,应该避开tmux等在终端里会用到的快捷键

前端代码位于 src\client\components\terminal\normal-buffer.jsx

触发代码位于 src\client\components\terminal\index.jsx

我手动把 src\client\components\terminal\index.jsx 281-286 行注释了就没有问题了

<!-- gh-comment-id:901766671 --> @ghost commented on GitHub (Aug 19, 2021): 这个窗口貌似不是太常用,能不能换个快捷键或者取消这个快捷键? 当用户在终端操作时,应该避开tmux等在终端里会用到的快捷键 前端代码位于 src\client\components\terminal\normal-buffer.jsx 触发代码位于 src\client\components\terminal\index.jsx 我手动把 src\client\components\terminal\index.jsx 281-286 行注释了就没有问题了
Author
Owner

@zxdong262 commented on GitHub (Nov 20, 2023):

下个版本加入快捷键设置,可以改为其他键

<!-- gh-comment-id:1818157336 --> @zxdong262 commented on GitHub (Nov 20, 2023): 下个版本加入快捷键设置,可以改为其他键
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1389
No description provided.