Skip to content

[Feature]: CLI: Don't let multiline pastes remove user input, treat multiline pastes as an 'object' you can cursor around better #2404

@smt923

Description

@smt923

Problem or Use Case

A very common pattern I want to do is if I get an error or something I want to paste to hermes I will start typing a sentence or two about it and then paste the actual lines underneath, I'm finding that if you do this and then paste in a multi line paste that becomes a [Pasted Text] it appears to remove your existing input, and after that it makes navigating around the paste block feel a bit weird (you can cursor through it which feels like it shouldn't work)

Something that feels better to me in other unnamed agents is the blocks feel like 'solid objects', it pastes below your text and you can quickly navigate the cursor across them, add text above, below, paste another multi line block, etc

I imagine this might feel better in gateways already but in the CLI it feels just a little clunky and the UX could be improved imo

Proposed Solution

Treat pasted multiline text blocks as 'solid objects' that the cursor jumps around and that you can move as well as annotate above and below, and add multiple

Don't replace already input text with the multiline block, insert the multi line block below user input

Alternatives Considered

No response

Feature Type

CLI improvement

Scope

Small (single file, < 50 lines)

Contribution

  • I'd like to implement this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions