如何使用 Git Bash 进行鼠标滚动?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9155896/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 01:29:58  来源:igfitidea点击:

How to mouse scroll with Git Bash?

bashcmdcommand-prompt

提问by Steven Penny

Using Git Bashor MinGW Shell, if I put in a command with much output, for example env, I cannot mouse scroll. A regular old Command Prompt (cmd.exe) window will do this however.

使用Git BashMinGW Shell,如果我输入一个输出很多的命令,例如env,我无法鼠标滚动。但是,常规的旧命令提示符 ( cmd.exe) 窗口将执行此操作。

回答by manojlds

Enable Quick Edit mode

启用快速编辑模式

  • Open Properties: AltSpace, then P(for properties)
  • Under Optionstab > Edit Options> Check Quick Edit> Hit OK
  • 打开属性:AltSpace,然后P(对于属性)
  • 选项选项卡下 >编辑选项> 检查快速编辑> 点击确定

Now you will be able to scroll with mouse.

现在您将能够用鼠标滚动。