Skip to content

Highlighted :doc text is not readable on terminal with dark mode #1901

Open

Description

@yaitskov

doc.lisp explicitly sets the white color as a background (control sequence esc[47m) for highlighted snippets.
In case of a terminal with a dark color scheme these fragments are barely readable or disappear.
I suggest to either use inversion control sequence (ie 7 instead of 47) or hardcode black foreground together with white background (ESC[30m)

Gnome Terminal (kgx):
Image

kitty:
Image

Activity

  1. MattKaufmann commented on Jan 28, 2026

    @MattKaufmann
    Contributor

    Please see #1902 for comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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