Wren testing

This commit is contained in:
iikorni
2026-09-03 22:18:23 -05:00
parent f1c99067d8
commit 1a0dad769c
49 changed files with 14712 additions and 72 deletions
+3 -4
View File
@@ -90,11 +90,10 @@ void KeyDown(kbutton_t *b) {
void KeyUp(kbutton_t *b) {
int k;
const char *c;
c = command::argv(1)->c_str();
if (c[0])
k = atoi(c);
auto c = command::argv(1);
if (c.has_value())
k = atoi(c->c_str());
else {
// typed manually at the console, assume for unsticking, so clear all
b->down[0] = b->down[1] = 0;