命令窗口中有更多行 [英] More lines in command window
问题描述
有可能在命令窗口(控制台)中获取更多行吗?
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:
- 转到Kristina提及的属性
- 转到布局选项卡(第三个)
- 修改屏幕缓冲区大小的高度 - 最大为9999.
如Joey在Kristina的回答中所提到的,
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.
这个答案最初是在克里斯蒂娜被标记为被接受的时候写的。现在这是被接受的答案,我编辑了我的答案,以避免混乱。
这篇关于命令窗口中有更多行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!