On 6/20/21 12:51 PM, Teemu Leisti wrote:

Bash Version: 5.1
Patch Level: 4
Release Status: release

Description:
When using ctrl-R to search in the command history, Bash highlights
the searched string, but not its first character.

Repeat-By:
1. Open Bash, and command: abcdef
2. Click Ctrl-R, and type: bcde
Expected behavior: The command "abcdef" is shown on the command line,
and "bcde" is highlighted.
Observed behavior: The command "abcdef" is shown on the command line,
and "cde" is highlighted.

I can't reproduce this. I think it depends on how your terminal emulator
displays the cursor.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to