We have similar issue. Our app using xTerm.js in WKWebview encounters character disappear and frequently crash.
It is all good on Safari on all devices and Simulators, and also on SFSafariViewController. It just happens in WKWebview on iPadOS 15.1 and iPhone Simulator with iOS 15.0 according to our test.
So we guess some features in WKWebview (possibly Canvas) have different behavior but we don't know what are they.