From b98673f8c59093af319978d45640db20b420e9be Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Fri, 27 Feb 2026 14:18:40 +0100 Subject: [PATCH 1/2] fix: set input field insertion point to end after autocomplete --- src/EchoHub.Client/UI/MainWindow.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/EchoHub.Client/UI/MainWindow.cs b/src/EchoHub.Client/UI/MainWindow.cs index f46e5cc..77ebece 100644 --- a/src/EchoHub.Client/UI/MainWindow.cs +++ b/src/EchoHub.Client/UI/MainWindow.cs @@ -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() From 56fccf5cfbb7e3080a8a0fe0b8ddf578158529b7 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Fri, 27 Feb 2026 14:23:12 +0100 Subject: [PATCH 2/2] chore: add cursor position fix to changelog --- docs/changelog/v0.2.10.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/v0.2.10.md b/docs/changelog/v0.2.10.md index b14b56f..9406c2e 100644 --- a/docs/changelog/v0.2.10.md +++ b/docs/changelog/v0.2.10.md @@ -1,9 +1,10 @@ # v0.2.10 -Follow-up patch release for v0.2.9 addressing regressions in the auto-updater flow. +Follow-up patch release for v0.2.9 addressing auto-updater regressions and input polish. ## Bug Fixes - Fix update progress dialog freezing / not repainting — progress callbacks now run on the UI thread so the download and extraction percentage actually updates while an update is in progress - Fix pre-update backup failing when a Serilog-held log file is locked — `UpdateBackupService` now enumerates files manually, skips the `logs/` directory and `.log` files, and logs-and-continues on `IOException`/`UnauthorizedAccessException` instead of aborting the whole backup - Simplify update progress dispatch — remove redundant `Application.Invoke` wrappers around progress updates that are already called from the UI thread (introduced while fixing the freeze above) +- Fix cursor position being reset to the start of the line when auto-completing commands in the CLI app — insertion point is now moved to the end of the completed text