-
Notifications
You must be signed in to change notification settings - Fork 419
Description
Describe the bug
gum choose --item.foreground
has no effect. I tried several color codes but none had any effect on the colorization of the list items.
To Reproduce
Steps to reproduce the behavior:
- Type
gum choose 1 2 3
into a terminal emulator with color support - Type
gum choose 1 2 3 --item.foreground 12
into a terminal emulator with color support - Notice that there is no difference in the colorization of the non-selected list items.
Expected behavior
The non-selected list items should be displayed in the specified color (Blue (System)).
Screenshots
Kitty (theme: Gruvbox Material Dark Soft)
Kitty (theme: Github Light High Contrast)
Desktop (please complete the following information):
- OS: Debian 12 (bookworm); also tested with: Arch Linux (2024-07-01) in VM
- Terminal: Kitty (version: 0.35.2); also tested with: gnome-terminal
- Version: 0.14.1
Additional context
As one can see from the last screenshot gum choose
behaves differently with respect to styling if called from within a subshell, which is especially unfortunate if one really needs to use a light theme (because of lighting conditions), in which case the list items are very hard to read.