-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background color for prompt only? #3775
Comments
You could try using the man fzf | less --pattern "ANSI ATTRIBUTES"
fzf --prompt " LOCATION " --color "prompt:magenta:reverse" The problem is that the trailing space is not colored in magenta. ![]() Instead of a normal space, try it with a non-breaking space. On macOS, the key combination seems to be Option + Space 1.
![]() Footnotes |
man fzf | less --pattern "--info=STYLE"
🧐 I don't know. If the color options provided by ANSI-C Quoting
|
term | description |
---|---|
%K{numeric|string} |
Start using a background color |
%B |
Start bold |
%~ |
Current working directory |
%b |
End bold |
%k |
End using background color |
![](https://private-user-images.githubusercontent.com/92653266/328433882-2a736e55-dfb4-436f-9828-fc8c184673bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExNTUyNzMsIm5iZiI6MTcyMTE1NDk3MywicGF0aCI6Ii85MjY1MzI2Ni8zMjg0MzM4ODItMmE3MzZlNTUtZGZiNC00MzZmLTk4MjgtZmM4YzE4NDY3M2JkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE2VDE4MzYxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5NGNkNGM0ZGQxMjU2NTZlYzNjYjRkYTJmMmM2YmRlNWRkZjMxYjc1NDZmODA3YzE3NWRmZTIxYTdkZTViYjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.6smt90H7qGdUQCM4djmFKDx5NrpR_aFD7ZAOCacLPhU)
Footnotes
u always amazed me with such a detailed thoughtful reply :) |
Checklist
man fzf
)Output of
fzf --version
0.51.0
OS
Shell
Problem / Steps to reproduce
from this: https://minsw.github.io/fzf-color-picker/
bg
changes background color of all, but i want specific color of an element instead of globally wideis there a way to do that?
smth like this:
![Screenshot 2024-05-07 at 1 03 08 AM](https://private-user-images.githubusercontent.com/48467427/328272988-5ba47171-6e57-48be-a7ee-73689133e729.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExNTUyNzMsIm5iZiI6MTcyMTE1NDk3MywicGF0aCI6Ii80ODQ2NzQyNy8zMjgyNzI5ODgtNWJhNDcxNzEtNmU1Ny00OGJlLWE3ZWUtNzM2ODkxMzNlNzI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE2VDE4MzYxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZlOGI5MDhiOGU4MTU5MjQxZjU5YzRkOWEzMTRhZjgxYWU1MjBkZTM3ZTZlNDRmZWVhNjYyM2IxMjUxZWMwNTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.a0b1w3gpA1m2d1zHQOEuFRqNR1fhlizcG27PRt_31IA)
The text was updated successfully, but these errors were encountered: