Path to this page:
./
comms/py-term-background,
Determine if shell has a light or dark background
Branch: CURRENT,
Version: 1.0.1,
Package name: py312-term-background-1.0.1,
Maintainer: pkgsrc-usersDetermine if shell has a light or dark background.
From Python you can call term_background.is_dark_background() which returns a
True if we think the background is dark.
The heuristics used is to try to query the background color using an xterm
control sequence.
Master sites:
Filesize: 19.826 KB
Version history: (Expand)
- (2024-11-11) Updated to version: py312-term-background-1.0.1
- (2024-03-23) Package added to pkgsrc.se, version py311-term-background-1.0.1 (created)
CVS history: (Expand)
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-03-23 07:48:41 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-term-background: added version 1.0.1
Determine if shell has a light or dark background.
From Python you can call term_background.is_dark_background() which returns a
True if we think the background is dark.
The heuristics used is to try to query the background color using an xterm
control sequence.
|