Windows 10 Bash (Ubuntu 14.04) - 如何向上滚动?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/41774260/
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-08 22:29:34  来源:igfitidea点击:

Windows 10 Bash (Ubuntu 14.04) - How to scroll up?

bashwindows-10windows-subsystem-for-linux

提问by Minyc510

I have bash installed on my W10 laptop, but one thing that is very frustrating is I can not scroll up.

我在 W10 笔记本电脑上安装了 bash,但非常令人沮丧的一件事是我无法向上滚动。

Does anyone know of a way to enable scrolling with the mouse wheel? I could not find anything after many google searches.

有谁知道启用鼠标滚轮滚动的方法?经过多次谷歌搜索后,我找不到任何东西。

Context: If I compile some C++ files and get a lot of errors, I can not scroll up to see all those errors.

上下文:如果我编译一些 C++ 文件并得到很多错误,我无法向上滚动查看所有这些错误。

回答by shilovk

You must set PropertiesLayoutScreen Buffer SizeHeightto the number of lines you want.

您必须将PropertiesLayoutScreen Buffer Size→设置Height为您想要的行数。

The default was 50 lines. I set it to 1000 and that's enough for me.

默认值为 50 行。我将它设置为 1000,这对我来说就足够了。

Properties menu

属性菜单

回答by Advised Travel

Right click the window frame, select "properties" from the contextual menu. In Properties, first tab, in the edit option area, tick the "QuickEditMode". That will allow you to mouse scroll.

右键单击窗口框架,从上下文菜单中选择“属性”。在属性的第一个选项卡中,在编辑选项区域中,勾选“QuickEditMode”。这将允许您进行鼠标滚动。

Screenshot of properties:

属性截图:

回答by KatenGaas

Make sure you're hitting properties, and not defaults. Both menus will appear the same, but only properties will give you the result you're looking for!

确保您点击的是属性,而不是默认值。两个菜单看起来都一样,但只有属性会给你你正在寻找的结果!