Yeah I tried all those ANSI codes, nothing seems to work :( On Sat, Sep 19, 2020 at 11:59 AM Joop Kiefte <iko...@gmail.com> wrote:
> 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> [image: > 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/CAL6oN2ec8svALBy3GuSE%3DzWnff5XN9hWH3oiObGarY9esnX-0g%40mail.gmail.com.