Skip to content

Linux shell recall, can't use Left Arrow Key to move cursor left and change mistyped numbers #2

@mark0smith

Description

@mark0smith

In Linux shell, when using recall mode, can't use Left Arrow Key to move cursor left and change mistyped numbers.

> ./hello -recall -hint 1
What do you remember?
aa 11^[[D^[[D  <------ Left Arrow Key

You have entered: aa 11
Are you sure you remember it right?

Hint Part:
Totally Wrong! Don't you even remember the first 2 number(s)?⏎                                                                                                                                                                              

But in Windows Powershell, Left Arrow Key works well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions