DenoDDeno
Powered by
bombillazoB
Denoβ€’2y agoβ€’
1 reply
bombillazo

Reset position of terminal cursor when calling io.writeAllSync()

Currently using io.writeAllSync, the next data is written where the last data left off, even with a new line the cursor is kept horizontally in the position that was left.

I tried the ansi library cursorBack function but it did not work, how can I control or reset the cursor?
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How can I replace writeAllSync with the Streams API?
andrewthauerAandrewthauer / help
3y ago
VSCode JavaScript Debug Terminal
Michael FrancisMMichael Francis / help
2y ago