Skip to content
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

[lynx] add --enable-default-colors #21127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

john-peterson
Copy link
Sponsor

this will show a completely black page black on black without --enable-default-colors. otherwise correct black on white

cat .termux/colors.properties
background=#FFFFFF
foreground=#000000
cursor=#5F6368

termux-reload-settings
lynx -nocolor

verify the build

these config settings will not be printed without --enable-default-colors

~/.termux-build/lynx/build/lynx -cfg=~/.config/lynx/lynx.cfg -lss= -show_cfg
DEFAULT_COLORS:true
ASSUMED_COLOR:default:default

default with colours

you have to manually say you want to use default colours if colour is enabled this setting is off by default

lynx.cfg
DEFAULT_COLORS:true

and not try this it will break

#ASSUMED_COLOR:default:default

upstream patch

I will submit a patch that solve this mess by removing the possibility to disable default colours

my colours

my day values replace white with black to correct bugs in apps that draw white on background. the downside is apps that draw black on white will be completely black. the only solution is to patch the apps

cat .termux/day.prop
background=#FFFFFF
foreground=#000000
cursor=#5F6368
color7=#222222
color15=#000000
~ cat .termux/night.prop
color1=#FFAAAA
color9=#FFAAAA
background=#000000
foreground=#ffffff
cursor=#5F6368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant