fix: improve Ctrl+R reverse search (#18075)

This commit is contained in:
Jack Wotherspoon
2026-02-02 20:03:28 -05:00
committed by GitHub
parent 18d7d1a92c
commit 18cce6a9ab
4 changed files with 26 additions and 6 deletions

View File

@@ -119,11 +119,7 @@ const _ExpandableText: React.FC<ExpandableTextProps> = ({
{before}
{match
? match.split(/(\s+)/).map((part, index) => (
<Text
key={`match-${index}`}
color={theme.background.primary}
backgroundColor={theme.text.primary}
>
<Text key={`match-${index}`} inverse color={textColor}>
{part}
</Text>
))