开发者

ansi escape sequences not working in windows cmd prompt

开发者 https://www.devze.com 2023-03-16 04:42 出处:网络
开发者_JAVA百科I tried the ANSI escape sequences like \\033[K \\033[%dd \\033[%dG etc, in AIX. When I used telnet in windows, it didn\'t work.
开发者_JAVA百科

I tried the ANSI escape sequences like \033[K \033[%dd \033[%dG etc, in AIX. When I used telnet in windows, it didn't work. The same is working fine using putty.

I don't want to use NCURSES, but printfs. Any idea will be appreciated.


Windows's command-prompt is not ANSI.

It has its own set of commands to use, but they are not escape sequences.

You can, however, use ANSI.SYS to gain access to similar functionality.

Read more here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号