vanishcode / Blog

vanishcodeのblog
https://vanishcode.com
6 stars 0 forks source link

在终端中不借用任何语言的工具原生输出彩色字符 #49

Open vanishcode opened 6 years ago

vanishcode commented 6 years ago

http://www.neatstudio.com/show-2568-1.shtml

算是最近的一个小坑 目标是,并不是本地输出彩色,而是通过curl这样的请求,服务器就返回的是彩色(ANISI),这样就像curl rate.sx一样,不管什么样的终端,只要是ANSI,就能原生输出彩色字符,超级醒目,好看