Skip to main content
Deno 2 is finally here 🎉️
Learn more

tty

Tags CI Status License

import * as tty from "https://deno.land/x/tty/mod.ts";

await tty.hideCursor();

setInterval(() => {
  tty.clearScreenSync();
  tty.goHomeSync();
  console.log("HELLO WORLD");
}, 200);

await tty.showCursor();

other

contribution

Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.

licence

Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.