If possible, I'd like to build an windows console interface like Console2 (http://sourceforge.net/projects/console/) or ConEmu (https://code.google.com/p/conemu-maximus5/) with node.js. The application will access and read Console's screenbuffer and output it to somewhere, back to console output buffer or node-webkit window. With Blessed (https://github.com/chjj/blessed) I can output to screen buffer, but I'm not sure how to read screen buffer.
For example, if I do "git pull" in the node app, it will create a child process and send the command to it. The process will run the command and output the result to the screen buffer. I want to capture it and output back to my node app.
I can see that there are a few node terminal app. So it seems to be possible to create a console interface, if only I can access the screen buffer of a cmd.exe process. Anyone with experience or knowledge, please help me! I would greatly appreciate your help.