-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text weirdly spaced on Web #198
Comments
I have the same problem |
So i managed to solve this. turns out its just a font issue:
|
This problem is still present on web in a WASM build - the font workaround works fine in a non-WASM build though. |
You can solve this problem by the following methods. TerminalView(
.......
onKeyEvent: (FocusNode node, KeyEvent event) {
if (!kIsWeb ||
event is! KeyUpEvent ||
event.logicalKey != LogicalKeyboardKey.space) {
return KeyEventResult.ignored;
}
_terminal.textInput(' ');
return KeyEventResult.handled;
},
.......
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to build an application for web and desktop that has a terminal.
On desktop (windows for me) it works just fine:

But when I try to run the exact same app with the exact same code on web, this is shown:

It's functional and works in general, but looks pretty ugly. I tried it in multiple browsers as well, but it doesn't work.
The text was updated successfully, but these errors were encountered: