命令窗口中的更多行

命令窗口中的更多行

本文介绍了命令窗口中的更多行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在命令窗口(控制台)中输入更多"行?

Is there a possibility to get "more" lines into the command window (Console)?

当我调试我的程序时,我向窗口输出了很多行,并且输出的开头一直消失在范围之外我可以向后滚动窗口,因此我看不到从开头开始的完整输出程序.

When I debug my programs I output quite a bunch of lines to the window and the beginning of the ouput keeps disappearing out of the range I can scroll back the window so I don't see my complete output from the beginning of the program.

如何让命令窗口保留所有行?

How can I get the command window to keep all lines?

(是的,我也可以将它作为日志写入文本文件中,但我想像这样尝试更改)

(And yes I could as well write it into a text-file as a log, but I'd like to try it like this for a change)

推荐答案

至少在 Win7 中,Kristina 现在的答案似乎是它在命令行中键入的命令的内存,或者您可以复制粘贴的数量.

At least in Win7, Kristina's answer now seems to be either its memory of commands typed in the command lines, or the amount you can copy-paste.

>

为了增加滚动条的内存,我做了以下事情:

To increase the scrollbar's memory, I did the following:

  • 转到克里斯蒂娜提到的属性
  • 转到布局选项卡(这是第三个)
  • 修改屏幕缓冲区大小的高度 - 9999 是最大值.

正如乔伊在对克里斯蒂娜回答的评论中所提到的,这不适用于您已经完成的事情 - 仅适用于您进行更改后所做的事情.

As mentioned by Joey in the comments to Kristina's answer, this will not work on things you've already done - only on things you do after making the change.

这个答案最初是在 Kristina 被标记为已接受时写的.现在这是公认的答案,我已经编辑了我的答案以避免混淆.

这篇关于命令窗口中的更多行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 17:22