Comments (3)
Also cannot set foreground colors for selected pager items, which is annoying as often the contrast of the colors involved causes terrible readability and need to be changed.
from fish-shell.
As noted in #6939, fish_color_comment
is also affected.
from fish-shell.
I recently wanted to play with making a terminal/fish theme based on flatwhite which is a bit of an odd theme in that it does more with background colors instead of foreground colors, and I ran into this as well. fish_color_command
has the same issue, maybe all of these. I believe I traced the cause to this line which hardcodes the background color to rgb_color_t::normal()
:
Line 1302 in 30c7a17
I naively changed the second parameter to the following, making the call consistent with another usage I'd seen in the codebase:
rv.resolve_spec(color, true, vars)
The second argument (Boolean) is what causes it to parse out the --background
portion of the color spec or not. That ultimately happens in the parse_color
function:
Line 468 in 30c7a17
But nothing changed. It seemingly was still unable to resolve the color I was specifying. That's all I've done so far, no actual debugging or deeper digging yet. I assume the background color is hardcoded to rgb_color_t::normal()
for a reason.
from fish-shell.
Related Issues (20)
- requested feature: ai generated command HOT 1
- option to make tab completions for files and directories sorted by modification time HOT 5
- Merging history files HOT 1
- [Pager] `fish_pager_color_selected_completion` is ignored by the parenthesis HOT 7
- Downloading clients freeze fish shell. HOT 3
- Running `commandline --help` causes a panic HOT 1
- __fish_git_prompt_showuntrackedfiles doesn't count files inside directories HOT 2
- i cannot run script in background HOT 2
- `command -f repaint` does not fire event `fish_prompt` HOT 1
- The sudo shortcut causes panic in some cases HOT 1
- clipboard copy not working with selection in binding HOT 2
- Almost expansion globbing HOT 4
- can translate the bashrc content to the config.fish HOT 6
- `test -n $nonexistent_variable` succeeds HOT 3
- Feature request: history-word-search-*? HOT 4
- fish refuses to tab autocomplete files for wg-quick command
- Store generated_completions in ~/.cache/fish not ~/.local/share/fish HOT 2
- User config snippets are not loaded in nvim terminal HOT 3
- Unexpected behavior with fish's `-c` option HOT 2
- terminated by signal SIGABRT when completing an environment variable in a string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fish-shell.