Skip to content

[Feature]: Deleting a line in the prompt via Ctrl+k #515

Open

Description

@miruji

Product or interface

Desktop app


Use case and problem

Add the ability to delete a line with Ctrl+k.

There are cases when you need to delete a couple of lines from your prompt if it is large — currently, this cannot be done. So you either cancel your entire prompt or slowly erase it.


Desired behavior

My suggestion is to make Ctrl+k work this way, as this is what I usually encounter in IDEs, editors, and the console.

Although, as I understand it, everything depends on your console shell. Therefore, I think it is worth looking for a way to detect this from the current shell.

Or, as a second, less good option, a binding in the CLI settings. Although it is simpler, since, as I understand it, the mechanism already exists. It would just be a duplicate, and if a person is used to one option in their console shell, then you would simply force them to change it unnecessarily.

I think if you have used git rebase, you will understand what I mean.


Platform

Linux

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    desktopMiniMax Code desktop appenhancementNew feature or requestneeds-triageAwaiting maintainer assessment

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions