From 94a8caa5dff065467bc877c9e317f834ebb4b94e Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Mon, 20 Oct 2025 15:56:45 +0800 Subject: [PATCH] fixed: unable to typing non-ascii characters by default iOS soft keyboards --- VoidLink/Input/StreamView.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VoidLink/Input/StreamView.m b/VoidLink/Input/StreamView.m index ffe2f809..e9fd9ab3 100644 --- a/VoidLink/Input/StreamView.m +++ b/VoidLink/Input/StreamView.m @@ -1213,6 +1213,9 @@ static const double X1_MOUSE_SPEED_DIVISOR = 2.5; } - (void)onKeyboardPressed:(UITextField *)textField { + + if (textField.markedTextRange) return; + NSString* inputText = textField.text; dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0), ^{ // If the text became empty, we know the user pressed the backspace key.