I tend to do that with ANSI terminal codes, there are pages that explain all 
codes

[Joop Kiefte - Chat @ 
Spike](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=owh4j)   
[owh4j]

On September 19, 2020 at 18:44 GMT, Alex Mills <a...@channelmeter.com> wrote:

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](https://groups.google.com/d/msgid/golang-nuts/d52c998b-bc1e-46fa-901d-f3f992ef4918n%40googlegroups.com?utm_medium=email&utm_source=footer).

-- 
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/c-64693-kfa1d3to-2y9cj5%3D2lm82i%402.gethop.com.

Reply via email to