mirror of
https://github.com/cline/cline.git
synced 2026-09-21 05:10:09 +08:00
Handle plain Cmd/Ctrl+A directly in `ChatTextArea` keydown to force textarea-wide selection via `setSelectionRange`, while preventing default and propagation. This avoids intermittent failures caused by global shortcut listener races, and keeps Cmd/Ctrl+Shift+A behavior unchanged.fix(chat): make Cmd/Ctrl+A select-all deterministic Handle plain Cmd/Ctrl+A directly in `ChatTextArea` keydown to force textarea-wide selection via `setSelectionRange`, while preventing default and propagation. This avoids intermittent failures caused by global shortcut listener races, and keeps Cmd/Ctrl+Shift+A behavior unchanged.