fix: set input field insertion point to end after autocomplete

This commit is contained in:
Stone_Red
2026-04-20 17:42:03 +02:00
committed by HueByte
parent 000764fdb4
commit b98673f8c5
+3
View File
@@ -572,6 +572,9 @@ public sealed partial class MainWindow : Runnable
if (prefix.Length > text.Length)
_inputField.Text = prefix;
}
// Move cursor to end after autocomplete
_inputField.InsertionPoint = new System.Drawing.Point(_inputField.Text?.Length ?? 0, 0);
}
private void OnChatViewportChanged()