-
Notifications
You must be signed in to change notification settings - Fork 1.3k
improve handling of copy pasting leading / #1727
Copy link
Copy link
Open
Labels
area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input
Description
Describe the feature or problem you'd like to solve
avoid treating a copy pasted block of text that leads with / as a command
Proposed solution
If i select // foo and copy paste it into the prompt window at the start of the prompt, the CLI attempts to parse this as a command so my prompt fails. Other tools treat pasted text as a block that both that isn't immediately treated as text, this seems like a nice ergonomic win that would address my immediate problem
Example prompts or workflows
No response
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:input-keyboardKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text inputKeyboard shortcuts, keybindings, copy/paste, clipboard, mouse, and text input
Type
Fields
Give feedbackNo fields configured for Feature.