Command line editing off by one
|Reported by:||andreasf||Owned by:||nobody|
|Component:||Applications/Command Line Tools||Version:||R1/Development|
Sometimes editing the command line by arrow keys and backspace/delete leads to the edited result displayed correctly, but after hitting enter, e.g., bash complains about a slightly differing command line with a letter duplicated or the wrong one(s) deleted, always off by +/-1 characters. Issue is persistent when using the up key to edit the previous command.
Noticed in the default shell in-string as described above; in
cpan, after backspacing one char too many, I get leading 'A' chars - could be a different issue though.
This is at hrev36382 but has been around some time.
In both apps simply retyping the command correctly works around the issue.
Change History (9)
follow-up: 7 comment:6 by , 10 years ago
|Component:||Applications/Terminal → Applications/Command Line Tools|