Skip to content

Commit 7ede938

Browse files
committed
screen.ts getBuffer debugging more
1 parent 27f4270 commit 7ede938

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
@@ -143,7 +143,8 @@ namespace user_interface_base {
143143
const chunkBuf2 = rowBuf2.slice(0, chunkSize - overhead);
144144

145145
const res = chunkBuf1.concat(chunkBuf2);
146-
basic.showNumber(res.length)
146+
if (res > 16)
147+
basic.showString("B")
147148
return res
148149
}
149150

@@ -152,6 +153,8 @@ namespace user_interface_base {
152153
const rowBuf = Buffer.create(bitmap.width);
153154
bitmap.getRows(startingRow, rowBuf);
154155
const res = rowBuf.slice(startIndex % width, chunkSize);
156+
if (res > 16)
157+
basic.showString("B")
155158
return res
156159
}
157160
}

0 commit comments

Comments
 (0)