diff options
author | wlodekm <[email protected]> | 2024-11-10 21:03:01 +0200 |
---|---|---|
committer | wlodekm <[email protected]> | 2024-11-10 21:03:01 +0200 |
commit | a2cab186316b4c46839cb5f9ad51b693edb194f6 (patch) | |
tree | df2b39edddbb5aaedb542e4a24b8e7b5a58f58b3 /v2/screen.ts | |
parent | 91b3570414cfdb4d4751e28006bf373d626d372a (diff) |
add build script, possibly fix a bug ( v1.0.1 )
Diffstat (limited to 'v2/screen.ts')
-rw-r--r-- | v2/screen.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/v2/screen.ts b/v2/screen.ts index 7a1e265..4c399e8 100644 --- a/v2/screen.ts +++ b/v2/screen.ts @@ -74,6 +74,7 @@ export class Screen { render() { console.clear() + process.stdout.write("\e[2J") // use an ansi escape code to clear the screen if console.clear doesn't clear fully this.elements.forEach(element => { element.render() }); |