Skip to content

Commit 02d5b53

Browse files
committed
debugging print outs
1 parent 2bce641 commit 02d5b53

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

navigator.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ namespace user_interface_base {
184184

185185
case CursorDir.Down: {
186186
basic.showNumber(this.row)
187+
basic.showString("C")
187188
basic.showNumber(this.col)
188189

189190
this.row = (this.row + 1) % this.height;
@@ -194,6 +195,7 @@ namespace user_interface_base {
194195

195196

196197
basic.showNumber(this.row)
198+
basic.showString("C")
197199
basic.showNumber(this.col)
198200
break
199201
}
@@ -222,7 +224,10 @@ namespace user_interface_base {
222224
}
223225
}
224226

227+
228+
basic.showString("I")
225229
const index = this.widths.slice(0, this.row).reduce((p, c) => p + c, 0)
230+
basic.showNumber(index)
226231
const btn = this.buttonGroups[0][index + this.col]
227232
this.reportAria(btn)
228233
return btn

0 commit comments

Comments
 (0)