Skip to content

Conversation

@S1M0N38
Copy link
Contributor

@S1M0N38 S1M0N38 commented Nov 5, 2025

Description

Improve Claude Code range transformation. The current transformation only supports lines ranges where the initial and final lines are different.

The implemented fix handles the cases where:

  • a single line is sent (line at cursor, visual selection within a line, visual line selection)
  • multi-line is sent (multi-line visual selection, multi-line visual line selection)

Related Issue(s)

Fixes #159

Additional Context

It should be merged after #184 has been fixed so we can check that also multi-line visual selection with cols works as expected

@S1M0N38 S1M0N38 marked this pull request as draft November 5, 2025 18:13
@github-actions github-actions bot added the size/s Small PR (<10 lines changed) label Nov 5, 2025
@S1M0N38
Copy link
Contributor Author

S1M0N38 commented Nov 5, 2025

I've locally tested this fix after the #184 fix with #186: it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s Small PR (<10 lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(cli): text transformation not working for single line (send this)

1 participant