Scoop API

scoop:scoop.terminal:0.1.0

availableColorCount

function availableColorCount

source · line 33
public
public fun availableColorCount(): Long

Estimates color capability from COLORTERM or TERM: 65535 for true-color markers, 256 for a 256-color marker, otherwise 8. This does not probe the terminal.