refactor(rendering): changed my mind, don't use components

This commit is contained in:
Pihkaal
2024-01-26 12:23:52 +01:00
parent 0a9ce46e02
commit ef41377558
3 changed files with 12 additions and 34 deletions

View File

@@ -89,7 +89,7 @@ export class TerminalRenderer implements TerminalElement {
render(): Array<ReactNode> {
const nodes: Array<ReactNode> = [];
console.log("here2");
for (let y = 0; y < this.height; y++) {
for (let x = 0; x < this.width; x++) {
const cell = this.data[y][x];