Skip to content

Append trailing space after typed paste paths#3

Merged
andyhtran merged 1 commit intomainfrom
ft-space
May 3, 2026
Merged

Append trailing space after typed paste paths#3
andyhtran merged 1 commit intomainfrom
ft-space

Conversation

@andyhtran
Copy link
Copy Markdown
Owner

Summary

  • After CopyCat types the pasted file path (local or remote), append a trailing space so the user can keep typing the next argument without hitting space themselves.
  • For the local path the typed value has no spaces, so the only way this corrupts a command is pasting inside quotes — uncommon for this workflow.

Test plan

  • just dev, copy an image, paste into a terminal — cursor lands one space past the path, ready for the next argument.
  • Same flow with a remote (Tailscale) peer — ~/... path is followed by a space.
  • Paste inside a quoted argument and confirm the trailing space behavior is acceptable.

🤖 Generated with Claude Code

So the user can keep typing the next argument without hitting space
themselves.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@andyhtran andyhtran merged commit 0be94fa into main May 3, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant