You're right; the cursor was a block when I saw the bug, but when I changed it
to I-beam, command search worked as expected. When using a block cursor, it's
shown as a highlight of the character under the cursor, and the highlighting of
the searched string seems to be reversing that.
So my bug rep
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
On Sun, Jun 20, 2021 at 07:51:03PM +0300, Teemu Leisti wrote:
> 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
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -Wall
uname output: Linux work 5.11.0-18-generic #19-Ubuntu SMP Fri May 7