Skip to content

[BUG] Readline history + Ctrl+C behaves differently than bash #135

Description

@itislu

If you go back more than one input line in the readline history and then hit Ctrl+C, the initial behavior is correct.
However, if you then press the DOWN arrow key, the input line that appears is the one below where you hit Ctrl+C.

It means you are still in the same position in the readline history, even after pressing Ctrl+C.

Maybe this can be fixed with one of the terminal manipulation functions.
It might be interesting to learn more about them in the process.

Activity

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions