sync: wip shell and info fetch
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user