PyDocs

Nav

Command-line interface libraries

assume_default_colors

curses

function · Added in 3.14not Androidnot iOSnot WASI
  • assume_default_colors(fg, bg, /)
Allow use of default values for colors on terminals supporting this feature.

Assign terminal default foreground/background colors to color number -1.
Change the definition of the color-pair 0 to (fg, bg).

Use this to support transparency in your application.
0 Examples
No examples for curses/assume_default_colors.
See Also
No see-alsos for curses/assume_default_colors
0 Notes
No notes for assume_default_colors