|
From: | Chet Ramey |
Subject: | Re: When searching in command history, highlighting is missing the first character |
Date: | Mon, 21 Jun 2021 10:10:50 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
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 chet@case.edu http://tiswww.cwru.edu/~chet/
[Prev in Thread] | Current Thread | [Next in Thread] |