[GH-ISSUE #1925] 编辑文件时不能查看终端之前输出的内容 #1152

Closed
opened 2026-02-27 00:02:24 +03:00 by kerem · 4 comments
Owner

Originally created by @chenrizhi on GitHub (Nov 25, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1925

Electerm version:

v1.9.19

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

macos

Expected Behavior

使用vim等工具编辑文件时,期望可以通过滚动鼠标滚轮来显示终端之前输出的内容

Can you reproduce the same behavior in other terminal:

Current Behavior

使用vim等工具编辑文件时,会占用整个终端,滚动鼠标滚轮只会滚动文本中的内容,相当于按键盘的上下键。此时我想看终端之前输出的内容就只能退出vim了,比较不方便。

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @chenrizhi on GitHub (Nov 25, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1925 <!--- Provide some basic info --> ## Electerm version: v1.9.19 ## Operating system(linux, macos, or windows7/8/10?): macos ## Expected Behavior <!--- Tell me what should happen --> 使用vim等工具编辑文件时,期望可以通过滚动鼠标滚轮来显示终端之前输出的内容 ## 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 --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> 使用vim等工具编辑文件时,会占用整个终端,滚动鼠标滚轮只会滚动文本中的内容,相当于按键盘的上下键。此时我想看终端之前输出的内容就只能退出vim了,比较不方便。 ## 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. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem 2026-02-27 00:02:24 +03:00
Author
Owner

@zxdong262 commented on GitHub (Nov 25, 2020):

其他终端不是这样的吗?

<!-- gh-comment-id:733609166 --> @zxdong262 commented on GitHub (Nov 25, 2020): 其他终端不是这样的吗?
Author
Owner

@chenrizhi commented on GitHub (Nov 26, 2020):

其他终端不是这样的吗?

不是的,windows平台的putty、xshell等终端,都可以,跨平台的finalshell也可以。

不知道electerm能不能改成这样的行为,真的会方便很多。

<!-- gh-comment-id:734087781 --> @chenrizhi commented on GitHub (Nov 26, 2020): > 其他终端不是这样的吗? 不是的,windows平台的putty、xshell等终端,都可以,跨平台的finalshell也可以。 不知道electerm能不能改成这样的行为,真的会方便很多。
Author
Owner

@zxdong262 commented on GitHub (Nov 26, 2020):

https://github.com/xtermjs/xterm.js/issues/3184 看起来暂时实现不了

<!-- gh-comment-id:734316777 --> @zxdong262 commented on GitHub (Nov 26, 2020): https://github.com/xtermjs/xterm.js/issues/3184 看起来暂时实现不了
Author
Owner

@zxdong262 commented on GitHub (Nov 29, 2020):

在最新版支持cmd or ctrl + ArrowUp 显示normal buffer内容,你可以试试

<!-- gh-comment-id:735344292 --> @zxdong262 commented on GitHub (Nov 29, 2020): 在最新版支持cmd or ctrl + ArrowUp 显示normal buffer内容,你可以试试
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#1152
No description provided.