feat: add support for images

This commit is contained in:
phantomreactor
2025-05-02 15:29:46 -05:00
committed by adamdottv
parent 0095832be3
commit ff0ef3bb43
30 changed files with 1323 additions and 468 deletions
+6 -5
View File
@@ -3,11 +3,12 @@ package styles
const (
OpenCodeIcon string = "ⓒ"
ErrorIcon string = "ⓧ"
WarningIcon string = "ⓦ"
InfoIcon string = "ⓘ"
HintIcon string = "ⓗ"
SpinnerIcon string = "⟳"
ErrorIcon string = "ⓧ"
WarningIcon string = "ⓦ"
InfoIcon string = "ⓘ"
HintIcon string = "ⓗ"
SpinnerIcon string = "⟳"
DocumentIcon string = "🖼"
)
// CircledDigit returns the Unicode circled digit/number for 020.
+4
View File
@@ -5,6 +5,10 @@ import (
"github.com/opencode-ai/opencode/internal/tui/theme"
)
var (
ImageBakcground = "#212121"
)
// Style generation functions that use the current theme
// BaseStyle returns the base style with background and foreground colors