null terminate keys in shell.c

This commit was merged in pull request #15.
This commit is contained in:
2026-08-22 18:03:11 +00:00
committed by dunkaist
parent 8833f7a2e0
commit bc700ee0af
+1
View File
@@ -444,6 +444,7 @@ cmd_send_scancode(struct shell_ctx *ctx, int argc, char **argv) {
return;
}
}
*scancode = 0;
monitor_cmd_send_scancodes(ctx->monitor, scancodes);
}