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.
In Linux shell, when using
recallmode, can't use Left Arrow Key to move cursor left and change mistyped numbers.But in Windows Powershell, Left Arrow Key works well.