Skip to content

Commit e262e51

Browse files
committed
screen.ts getBuffer experimentation debugging prints 2
1 parent d87153e commit e262e51

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

screen.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ namespace user_interface_base {
128128
const endIndex = startIndex + chunkSize;
129129

130130
const startingRow = (startIndex / width | 0);
131-
basic.showNumber(startingRow)
132131
const endingRow = (endIndex / width | 0);
133132

133+
basic.showString("I")
134+
basic.showNumber(startingRow)
135+
134136
// Buffer crosses multiple rows:
135137
if (startingRow != endingRow) {
136138
const rowBuf1 = Buffer.create(bitmap.width);
@@ -163,6 +165,7 @@ namespace user_interface_base {
163165
// const end = start + chunkSize;
164166
for (let i = 0; i < chunkSize; i++) {
165167
res[i] = rowBuf[i + start];
168+
basic.showNumber(res[i])
166169
}
167170
return res
168171
}

0 commit comments

Comments
 (0)