C++ 更改代码块中的默认终端
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13900328/
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
Changing default terminal in Codeblocks
提问by wirher
Windows cmd does not support ANSI colour codes and there are a lot of better terminals in the internet. I'm new to code::blocks and want to change the default terminal. What I did is:
Windows cmd 不支持 ANSI 颜色代码,互联网上有很多更好的终端。我是 code::blocks 的新手,想更改默认终端。我所做的是:
Settings>Environmentand I just can't change "Terminal to launch console programs" field. How can I do that?
设置>环境,我只是无法更改“启动控制台程序的终端”字段。我怎样才能做到这一点?
回答by nKandel
I think you can't able to change default terminal on Window's Operating System because none other is present there. But if you are using Linux like Ubuntu you can change it's default command window as gnome-terminal --title=$TITLE -x
in place of xterm -T $TITLE -e
on Settings>Environment>"Terminal to launch console programs"
我认为您无法更改 Window 操作系统上的默认终端,因为那里没有其他终端。但是,如果您使用像 Ubuntu 这样的 Linux,您可以更改它的默认命令窗口,gnome-terminal --title=$TITLE -x
以代替xterm -T $TITLE -e
设置>环境>“启动控制台程序的终端”
回答by sagar saini
回答by Shadi
When code blocks opens the Console as usual:
当代码块像往常一样打开控制台时:
- Right-click on the very most left of the title bar of the console window.
- Choose properties from the pop-up menu.
- Change whatever settings of the console window you would like to change.
- 右键单击控制台窗口标题栏的最左侧。
- 从弹出菜单中选择属性。
- 更改您想要更改的控制台窗口的任何设置。
回答by bethm
Right click on the title bar of the console window -> properties -> font/or layout tab.
右键单击控制台窗口的标题栏 -> 属性 -> 字体/或布局选项卡。