import { imgui } from "https://deno.land/x/dwm@0.3.6/ext/imgui.ts";
const { pushButtonRepeat } = imgui;
in 'repeat' mode, Button*() functions return repeated true in a typematic manner (using io.KeyRepeatDelay/io.KeyRepeatRate setting). Note that you can call IsItemActive() after any Button() to tell if the button is held in the current frame.