Using Node.js with several projects I can use these:

const rl = require('readline');
process.stdout.write('current line')
rl.clearLine(process.stdout); 
rl.cursorTo(process.stdout, 0);

this will clear the current line in the terminal, so I can achieve 
something like a status line, but I cannot figure out how to do this with 
Golang, anyone know?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d52c998b-bc1e-46fa-901d-f3f992ef4918n%40googlegroups.com.

Reply via email to