Skip to content

Set-SpectreColors

Description

Tests if the terminal supports Sixel graphics. Sixel allows the terminal to display images.
Windows Terminal Preview and other terminals support sixel, see https://www.arewesixelyet.com/ for more.
Returns $true if the terminal supports Sixel graphics, otherwise $false.


Examples

Check if the terminal supports Sixel graphics

Terminal window
if (Test-SpectreSixelSupport) {
Write-SpectreHost "Sixel graphics are supported :)"
} else {
Write-SpectreHost "Sixel graphics are not supported :("
}

Syntax

Terminal window
Test-SpectreSixelSupport [<CommonParameters>]