trivial enhancements to state management solution

This commit is contained in:
2025-12-24 16:25:48 +08:00
parent 83f145f490
commit 42f798c8b7
11 changed files with 400 additions and 178 deletions

View File

@@ -135,11 +135,8 @@ async fn init_cursor_tracking() -> Result<(), String> {
};
let mapped = absolute_to_normalized(&raw);
let positions = CursorPositions {
raw,
mapped,
};
let positions = CursorPositions { raw, mapped };
// Send to consumer channel (non-blocking)
if let Err(e) = tx.try_send(positions) {