如何在Windows 10中启用VT100终端仿真? [英] How to enable VT100 terminal emulation in windows 10?

查看:144
本文介绍了如何在Windows 10中启用VT100终端仿真?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用ANSI转义代码在python程序执行中(在IDLE或CMD或其他终端中)打印彩色文本.请告诉我有关Windows命令提示符的确切命令,以启用VT100终端仿真,或者逐步告诉我其他方法.

I want to use ANSI escape code to print colored text in python program execution (in IDLE or CMD or other terminal). please tell me exact commands for windows Command Prompt to enable VT100 terminal emulation or Tell me other method step by step.

我已经搜索并找到了一些方法,但是我不知道如何实现它们.请以我可以遵循的简单逐步格式进行回答.

I have already searched and found some methods but I didn't understood how to implement them. Please answer in a simple step by step format that I can follow.

推荐答案

此方法对我有效,所以也许对某些人也适用.

This method worked for me, So may be it may work for some of you also.

只需从( https://github.com/adoxa/ansicon/downloads ),然后将其解压缩并根据您的版本及其完成情况运行ansicon.exe.现在,您可以在Windows命令提示符中显示彩色文本.

just download the zip ansicon from (https://github.com/adoxa/ansicon/downloads) after that unzip it and run ansicon.exe according to your version and its done. Now you can display colored text in windows Command Prompt.

这个解决方案在另一个类似的问题中得到了回答,但我现在没有链接.

This solution was answered in another similar question but I don't have it's link now.

这篇关于如何在Windows 10中启用VT100终端仿真?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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