co-mono/packages
Sviatoslav Abakumov 7d2d170c1b
fix(tui): handle multi-line text in insertTextAtCursor()
Add insertTextAtCursorInternal() to properly handle newlines by splitting
lines at the cursor position.

- Normalize line endings (CRLF/CR to LF)
- Handle single-line and multi-line insertion
- Position cursor at end of inserted text
- Call onChange only once at the end

Refactor handlePaste() to use insertTextAtCursorInternal() for
multi-line pastes, while retaining character-by-character insertion for
single-line pastes to preserve autocomplete triggering.
2026-01-25 17:28:54 +04:00
..
agent Add [Unreleased] section for next cycle 2026-01-22 01:43:26 +01:00
ai feat(ai): add OpenRouter provider routing support 2026-01-25 03:34:49 +01:00
coding-agent feat(ai): add OpenRouter provider routing support 2026-01-25 03:34:49 +01:00
mom feat(coding-agent): package deduplication and collision detection 2026-01-24 00:35:19 +01:00
pods Release v0.49.3 2026-01-22 01:42:43 +01:00
tui fix(tui): handle multi-line text in insertTextAtCursor() 2026-01-25 17:28:54 +04:00
web-ui Add [Unreleased] section for next cycle 2026-01-22 01:43:26 +01:00