更改代码块中的默认终端 [英] Changing default terminal in Codeblocks

查看:86
本文介绍了更改代码块中的默认终端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows cmd不支持ANSI颜色代码,并且互联网上有很多更好的终端。我是code :: blocks的新手,并且想要更改默认终端。我所做的是:

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:

Settings> Environment ,而我只是无法更改用于启动控制台程序的终端字段。我怎样才能做到这一点?

Settings>Environment and I just can't change "Terminal to launch console programs" field. How can I do that?

推荐答案

我认为您无法更改Window操作系统上的默认终端,因为那里没有其他终端。但是,如果您正在使用像Ubuntu这样的Linux,则可以将其默认命令窗口更改为 gnome-terminal --title = $ TITLE -x 代替 xterm -T $ TITLE -e 在设置>环境>启动控制台程序的终端上

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"

这篇关于更改代码块中的默认终端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆