sync: wip shell and info fetch

This commit is contained in:
2026-03-27 17:52:58 +01:00
parent 83830c7717
commit ea968b8492
6 changed files with 59 additions and 40 deletions

View File

@@ -38,7 +38,6 @@ export class Terminal {
AppendLine() {
const paragraph = document.createElement('p')
paragraph.style.height = `${this.cellHeight}px`
paragraph.style.lineHeight = `${this.cellHeight}px`
paragraph.id = `line-${this.cursorPosition.row}`
paragraph.className = 'line'
@@ -85,7 +84,6 @@ export class Terminal {
cell.className = `cell-${i}`
cell.style.width = `${this.cellWidth}px`
cell.style.height = `${this.cellHeight}px`
cell.style.lineHeight = `${this.cellHeight}px`
line.appendChild(cell)
}
@@ -104,7 +102,6 @@ export class Terminal {
cell.className = `cell-${this.cursorPosition.col}`
cell.style.width = `${this.cellWidth}px`
cell.style.height = `${this.cellHeight}px`
cell.style.lineHeight = `${this.cellHeight}px`
cell.innerText = char[0]