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

xterm color highlight uses black and white #3123

Open
beewoolie opened this issue Nov 9, 2024 · 1 comment
Open

xterm color highlight uses black and white #3123

beewoolie opened this issue Nov 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@beewoolie
Copy link

Using xterm on Linux and MacOS with TERM=xterm-256color.

 > bat --version
bat 0.24.0

Highlighting the following in a file bat.cc

/** bat.cc

*/

#include "standard.h"

#include "bat.h"

namespace BAT {
  void init () {
    for (int i = 0 ; i < 10 ; ++i)
      ::printf ("%d\n", i);
  }
}

If the terminal has white foreground on black, the line numbers are invisible. If it has black foreground on white, some of the code is invisible.

@beewoolie beewoolie added the bug Something isn't working label Nov 9, 2024
@keith-hall
Copy link
Collaborator

I wonder if this was fixed by #2896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants