MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getImageSupportDescription

Function getImageSupportDescription

cli/src/utils/terminal-images.ts:216–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214 * Get a user-friendly description of the terminal image support
215 */
216export function getImageSupportDescription(): string {
217 const protocol = detectTerminalImageSupport()
218
219 switch (protocol) {
220 case 'iterm2':
221 return 'iTerm2 inline images'
222 case 'kitty':
223 return 'Kitty graphics protocol'
224 case 'sixel':
225 return 'Sixel graphics'
226 case 'none':
227 return 'No inline image support'
228 }
229}

Callers 1

image-block.tsxFile · 0.90

Calls 1

Tested by

no test coverage detected