这是indexloc提供的服务,不要输入任何密码
Skip to content

Some color schemes go beyond the first 16 colors #215

@CtrlAltCuteness

Description

@CtrlAltCuteness

Problem description
Several color schemes specify colors beyond the 16 color palette. I've noticed this has been the case for many months but never reported it.

Steps to reproduce

  1. Select an afflicted color scheme.
  2. Display colors 16 through 21 of the 256 color palette.

Expected behavior
Colors 16 through 255 should be the same no matter which color scheme is in use.

Additional information
After extracting Termux: Styling's APK, running this grep command inside of assets/colors will show the list of files affected:

grep -Pl '^color(1[6-9]|[2-9][0-9]+)=' ./*.properties

This will show some of the colors that should be consistent no matter which color scheme is selected:

printf '\033[38;5;255m'
for i in `seq 16 21` ; do
    printf "\033[48;5;${i}m.${i}."
done
printf '\033[m\n'
  • Termux application version: 0.118.0; Styling: 0.30 (F-Droid)
  • Android OS version: Android 12 (One UI: 4.1; not latest)
  • Device model: Samsung Galaxy S21 5G (SM-G991U)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions