Terminal cursor does not display correctly when cursor type is `underline`, `verticalBar`

As of the latest version of xterm.dart 3.4.1, the cursor does not seem to display correctly in the terminal if the cursorType is TerminalCursorType.verticalBar or TerminalCursorType.underline rather than block.
TerminalView(
Terminal(
maxLines: 10000,
onResize: (width, height, pixelWidth, pixelHeight) {
// ...
},
onOutput: (data) {
/ ...
}),
focusNode: _focusNode,
padding: const EdgeInsets.fromLTRB(10, 10, 10, 0),
cursorType: TerminalCursorType.verticalBar,
textStyle: TerminalStyle(fontFamily: 'monospace', fontSize: 14),
);
However, if you set the font size to large(e.g. fontSize: 30), you may notice that the cursor appears in the wrong place in the terminal (at the top, as shown in the photo below).

This problem does not occur if the terminal cursor is of type block.
i have the same problem, also when typing with mobile keyboard and hint the enter button text replicate also auto correction problem android device
@xtyxtyx
Big guy, look at this problem, I used to use it so well, but not today