()
| 214 | * Get a user-friendly description of the terminal image support |
| 215 | */ |
| 216 | export 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 | } |
no test coverage detected