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

Line numbers not readable (dark font) on dark background in Konsole #2159

Closed
ericschdt opened this issue Apr 20, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@ericschdt
Copy link

What steps will reproduce the bug?

  1. Eg on openSUSE TW open Konsole 21.12.3 with a theme which has a dark background (eg Breeze Theme, Linux Colors, whatever)
  2. bat --number --color always --theme "Dracula" mytextfile

What happens?
Screenshot_20220420_142909

What did you expect to happen instead?
The line numbers should be readable on a dark background, which iirc correctly used to work before 0.20.

How did you install bat?
zypper install bat


bat version and environment

Software version

bat 0.20.0

Operating system

Linux 5.17.3-1-default

Command-line

bat --number --color always --theme Dracula mytextfile --diagnostics 

Environment variables

SHELL=/bin/bash
PAGER=less
LESS='-M -I -R'
LANG=de_DE.UTF-8
LC_ALL=<not set>
BAT_PAGER=<not set>
BAT_CACHE_PATH=<not set>
BAT_CONFIG_PATH=<not set>
BAT_OPTS=<not set>
BAT_STYLE=<not set>
BAT_TABS=<not set>
BAT_THEME=<not set>
XDG_CONFIG_HOME=<not set>
XDG_CACHE_HOME=<not set>
COLORTERM=truecolor
NO_COLOR=<not set>
MANPAGER=<not set>

Config file

Could not read contents of '/home/user/.config/bat/config': No such file or directory (os error 2).

Compile time information

  • Profile: release
  • Target triple: x86_64-unknown-linux-gnu
  • Family: unix
  • OS: linux
  • Architecture: x86_64
  • Pointer width: 64
  • Endian: little
  • CPU features: fxsr,sse,sse2
  • Host: x86_64-unknown-linux-gnu

Less version

> less --version 
less 590 (POSIX regular expressions)
Copyright (C) 1984-2021  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Home page: https://greenwoodsoftware.com/less
@ericschdt ericschdt added the bug Something isn't working label Apr 20, 2022
@Enselic
Copy link
Collaborator

Enselic commented May 5, 2022

Duplicate of #1746

@Enselic Enselic marked this as a duplicate of #1746 May 5, 2022
@Enselic Enselic closed this as completed May 5, 2022
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