Skip to content

About the automatic carriage return problem of pasting part #3953

@ISensuiI

Description

@ISensuiI

What would you like to be added?

Remove the paste return to prevent the message from being automatically sent when pasting.

Why is this needed?

About the automatic carriage return problem of pasting part

During use, we often need to paste some errors, codes, etc. into cli for communication, but I found that now no matter in the web editor, carriage return will be attached when pasting. This will cause me to send the problem directly after pasting. But in fact, I didn't finish writing. But when I stopped by esc, I tried to retrieve the previous conversation, but it disappeared, and I could never complete the pasting operation.

Another way is to copy and paste it into an unformatted part first, such as WIN+R to run the input box before copying and pasting it into cli. I think this is a very big problem and seriously affects development efficiency.

I wonder if the last space can be automatically cleaned when pasting to prevent sending messages before editing is completed.

Now as long as it involves me entering some text, and then I try to combine errors in multiple locations to ask questions. It can't be completed at all. I tried \ enter shift, but it didn't work.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/uxImproves the CLI's usability, performance, interactive features, and documentation.good first issueGood for newcomerskind/enhancementNew feature or requestpriority/p2Important but can be addressed in a future release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions