bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

When searching in command history, highlighting is missing the first cha


From: Teemu Leisti
Subject: When searching in command history, highlighting is missing the first character
Date: Sun, 20 Jun 2021 19:51:03 +0300

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
14:22:03 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]