Open chenglou opened 10 years ago
One way to solve this is to revamp the whole input paradigm: instead of tracking the letters, the cursor position, the backspace keys and whatever, simply store the whole text each time and during playback, reset to that. This will also solve whatever copy pasting issue and all.
Known issue. Noted here: https://github.com/chenglou/node-huxley/blob/bb8f1f2a84bdab69388dbd6089d42545362a1ea0/playback.js#L67