C - how to use vt100 code in windows -


i try move cursor in console. , find out vt100 code this.

#include<stdio.h> int main() {     printf("123456789\n");     printf("\033a");     printf("abcdefghi\n");     return 0; } 

its output not same planned.this code above print in console in second line there's small arrow before "a",it cant put on web

123456789 aabcdefghi 

how use vt100 code when programming in visual studio in windows?

vt100 codes not work in normal windows console. you'll need terminal emulation program.

this page seems claim support vt100. can't confirm this. , can't find reference.

probably overkill, cygwin includes x-server can run xterm supports vt100 codes.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -