isacikgoz / tldr

fast and interactive tldr client written with go
https://isacikgoz.me/tldr/
MIT License
1.36k stars 48 forks source link

[BUG] Highlighting off when term is repeated #52

Open xeruf opened 2 years ago

xeruf commented 2 years ago

Is there an existing issue for this?

Current Behavior

image

It functionally works correctly, but in the preview the first occurence of the word rather than the actually substituted one is highlighted.

Expected Behavior

the actual parameter is highlighted

Steps To Reproduce

tldr emacsclient

Environment

- OS: Arch
- Terminal emulator: Kitty

Anything else?

No response