Agent disassembles and patches yterm.wasm directly to fix ImGui Esc button bug

yacineMTB · x · 2026-12-05

Yacine shared a screenshot of a coding agent going full send: told "Idiot LLM just do it," the agent disassembled yterm.wasm with wasm2wat, pinpointed two exact bugs in the compiled ImGui keybar code — a PressedOnClickRelease button flag dropping fast mobile taps, and the keybar self-hiding whenever Gboard closes. It then patched the WebAssembly binary in place, backed up the original, validated with wasm-validate, tightened the inBottomKeyBar check in index.html, and hot-reloaded — all without ever grabbing the laptop or rebuilding from source. A memorable demo of agents fixing compiled artifacts directly and of a viable wasm-patching workflow.

Related event: Dev shows LLM directly disassembling wasm to fix ImGui bug(2 posts)→

Original post →

More from coding & agent

coding & agent channel →