Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ core + deck.
| `panels` | Charts/widgets from neutral structs (`Bar`, `Line`, `Meter`, …) |
| `theme` | `Theme` + `Use` / `Cur` palettes and status helpers |
| `glyph` | Nerd/Uni/ASCII variants, status strip, severity vocabulary |
| `console` | Output capability detection: TTY, ANSI, Unicode, Powerline/Nerd Fonts |
| `keys` | Keybinding tables |
| `forms` | Field builders |
| `list` / `browser` | List/browser helpers |
Expand Down Expand Up @@ -83,6 +84,34 @@ frame := layout.NewFrame(80).WithUI(scope)
Structural dimensions (`theme.BodyWidth`, …) are exported constants — set
per-view width via `layout.NewFrame(width)`.

### Console capabilities

```go
caps := console.Detect(os.Stdout)
if caps.Powerline == console.Supported {
// Use Powerline separators; otherwise use a plain-text fallback.
}
glyph.DetectMode(os.Stdout, os.Getenv("MYAPP_ICONS"))
```

Import `github.com/codyconfer/viewkit/console` (and `glyph` for the mode helper).
Detection is passive: it never prints probes or reads input. Non-TTY and
`TERM=dumb` output falls back to ASCII. Unicode is estimated from the first
non-empty locale variable (`LC_ALL`, `LC_CTYPE`, `LANG`) containing UTF-8.
Terminal names and character widths cannot prove that a font contains a glyph,
so font support defaults to `console.Unknown`, not a claim of support.

Set `VIEWKIT_POWERLINE=true` and/or `VIEWKIT_NERD_FONT=true` to declare installed
font support, or `false` to disable it; unset/`auto` keeps it unknown. Nerd Fonts
imply Powerline support unless explicitly disabled; Powerline alone does not
imply Nerd Font icons. Font overrides do not enable fancy output in pipes.

`glyph.DetectMode` now chooses Unicode for UTF-8 terminals with unknown fonts,
rather than assuming Nerd Fonts. Its explicit `nerd`/`unicode`/`ascii` override
still wins, including for redirected output. `glyph.SetMode` and the default
mode for applications that never call `DetectMode` are unchanged. Call detection
before constructing a `ui.Scope` so it captures the selected glyph mode.

### Deck Model + scope

Interactive apps use `deck.Model` as the session tea root. Pass the scope with
Expand Down
85 changes: 85 additions & 0 deletions console/console.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
// Package console detects output capabilities without writing escape sequences
// or reading terminal input. Font coverage cannot be queried portably, so font
// support is unknown unless explicitly configured by the user.
package console

import (
"io"
"os"
"strconv"
"strings"

"github.com/charmbracelet/x/term"
)

// Support distinguishes an unverified capability from known lack of support.
type Support uint8

const (
// Unknown means there is not enough information to determine support.
Unknown Support = iota
// Unsupported means the capability is disabled or unavailable.
Unsupported
// Supported means the capability is explicitly enabled.
Supported
)

// Capabilities describes one output destination, not process-wide state.
// Unicode and ANSI are conservative environment-based estimates, not probes.
// Powerline support alone does not imply support for Nerd Font icons.
type Capabilities struct {
Terminal bool
ANSI bool
Unicode bool
Powerline Support
NerdFont Support
}

// Detect checks whether w is a terminal and inspects the current environment.
// Non-file writers, redirected files, and TERM=dumb use plain ASCII output.
// Unicode requires a UTF-8 locale (LC_ALL, LC_CTYPE, then LANG), or an
// explicitly enabled font. VIEWKIT_POWERLINE and VIEWKIT_NERD_FONT accept
// strconv.ParseBool values; unset, "auto", and invalid values mean unknown.
// Nerd Fonts include Powerline symbols, unless Powerline is explicitly disabled.
// Font overrides do not enable capabilities for non-terminal or dumb output.
// Detect neither changes global rendering state nor consumes terminal input.
func Detect(w io.Writer) Capabilities {
f, ok := w.(*os.File)
return detect(ok && f != nil && term.IsTerminal(f.Fd()), os.Getenv)
}

func detect(terminal bool, getenv func(string) string) Capabilities {
c := Capabilities{Terminal: terminal}
if !terminal || strings.EqualFold(strings.TrimSpace(getenv("TERM")), "dumb") {
c.Powerline, c.NerdFont = Unsupported, Unsupported
return c
}
c.ANSI = true
for _, name := range []string{"LC_ALL", "LC_CTYPE", "LANG"} {
if locale := getenv(name); locale != "" {
locale = strings.ToLower(locale)
c.Unicode = strings.Contains(locale, "utf-8") || strings.Contains(locale, "utf8")
break
}
}
c.Powerline = fontSupport(getenv("VIEWKIT_POWERLINE"))
c.NerdFont = fontSupport(getenv("VIEWKIT_NERD_FONT"))
if c.NerdFont == Supported && c.Powerline == Unknown {
c.Powerline = Supported
}
if c.Powerline == Supported || c.NerdFont == Supported {
c.Unicode = true
}
return c
}

func fontSupport(value string) Support {
enabled, err := strconv.ParseBool(strings.TrimSpace(value))
if err != nil {
return Unknown
}
if enabled {
return Supported
}
return Unsupported
}
71 changes: 71 additions & 0 deletions console/console_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
package console

import (
"bytes"
"io"
"os"
"testing"
)

func TestDetectEnvironment(t *testing.T) {
tests := []struct {
name string
tty bool
env map[string]string
want Capabilities
}{
{"redirected ignores overrides", false, map[string]string{"LANG": "en_US.UTF-8", "VIEWKIT_NERD_FONT": "true"}, Capabilities{Powerline: Unsupported, NerdFont: Unsupported}},
{"dumb ignores overrides", true, map[string]string{"TERM": "DuMb", "VIEWKIT_POWERLINE": "1"}, Capabilities{Terminal: true, Powerline: Unsupported, NerdFont: Unsupported}},
{"no locale", true, nil, Capabilities{Terminal: true, ANSI: true}},
{"utf8 unknown fonts", true, map[string]string{"LANG": "en_US.UTF-8", "TERM": "xterm-256color"}, Capabilities{Terminal: true, ANSI: true, Unicode: true}},
{"ctype wins over lang", true, map[string]string{"LC_CTYPE": "C", "LANG": "en_US.UTF-8"}, Capabilities{Terminal: true, ANSI: true}},
{"all wins over ctype", true, map[string]string{"LC_ALL": "C.utf8", "LC_CTYPE": "C"}, Capabilities{Terminal: true, ANSI: true, Unicode: true}},
{"posix locale", true, map[string]string{"LC_ALL": "POSIX"}, Capabilities{Terminal: true, ANSI: true}},
{"powerline is not nerd", true, map[string]string{"VIEWKIT_POWERLINE": "true"}, Capabilities{Terminal: true, ANSI: true, Unicode: true, Powerline: Supported}},
{"nerd includes powerline", true, map[string]string{"VIEWKIT_NERD_FONT": "1"}, Capabilities{Terminal: true, ANSI: true, Unicode: true, Powerline: Supported, NerdFont: Supported}},
{"explicit powerline disable", true, map[string]string{"VIEWKIT_NERD_FONT": "true", "VIEWKIT_POWERLINE": "false"}, Capabilities{Terminal: true, ANSI: true, Unicode: true, Powerline: Unsupported, NerdFont: Supported}},
{"disabled fonts", true, map[string]string{"LANG": "C.UTF-8", "VIEWKIT_NERD_FONT": "0", "VIEWKIT_POWERLINE": "false"}, Capabilities{Terminal: true, ANSI: true, Unicode: true, Powerline: Unsupported, NerdFont: Unsupported}},
{"invalid and auto unknown", true, map[string]string{"VIEWKIT_NERD_FONT": "auto", "VIEWKIT_POWERLINE": "maybe"}, Capabilities{Terminal: true, ANSI: true}},
{"terminal brand proves no fonts", true, map[string]string{"TERM_PROGRAM": "WezTerm", "WT_SESSION": "session", "LANG": "C.UTF-8"}, Capabilities{Terminal: true, ANSI: true, Unicode: true}},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got := detect(tt.tty, func(key string) string { return tt.env[key] })
if got != tt.want {
t.Errorf("detect() = %+v, want %+v", got, tt.want)
}
})
}
}

func TestDetectNonTerminals(t *testing.T) {
t.Setenv("VIEWKIT_NERD_FONT", "true")
f, err := os.CreateTemp(t.TempDir(), "output")
if err != nil {
t.Fatal(err)
}
t.Cleanup(func() { _ = f.Close() })
r, w, err := os.Pipe()
if err != nil {
t.Fatal(err)
}
t.Cleanup(func() { _ = r.Close(); _ = w.Close() })
var nilFile *os.File
for _, writer := range []io.Writer{nil, nilFile, &bytes.Buffer{}, f, w} {
if got := Detect(writer); got != (Capabilities{Powerline: Unsupported, NerdFont: Unsupported}) {
t.Errorf("Detect(%T) = %+v, want plain output", writer, got)
}
}
}

func TestFontSupport(t *testing.T) {
for value, want := range map[string]Support{
"": Unknown, "auto": Unknown, "yes": Unknown,
" true ": Supported, "TRUE": Supported, "1": Supported,
" false ": Unsupported, "FALSE": Unsupported, "0": Unsupported,
} {
if got := fontSupport(value); got != want {
t.Errorf("fontSupport(%q) = %v, want %v", value, got, want)
}
}
}
26 changes: 11 additions & 15 deletions glyph/glyph.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package glyph

import (
"io"
"os"
"strings"
"sync/atomic"

"github.com/charmbracelet/lipgloss"
"github.com/charmbracelet/x/term"

"github.com/codyconfer/viewkit/console"
)

// Mode selects which Variants field glyphs render as.
Expand Down Expand Up @@ -45,26 +45,22 @@ func ParseMode(s string) (Mode, bool) {

// DetectMode sets the process-wide glyph mode: an explicit override wins
// (pass the value of the app's own env var, e.g. os.Getenv("MYAPP_ICONS")),
// otherwise dumb or non-TTY output falls back to ASCII and everything else
// gets nerd glyphs.
// otherwise console.Detect selects ASCII, Unicode, or explicitly enabled Nerd
// Font glyphs. Unknown font support never enables private-use icons.
func DetectMode(w io.Writer, override string) {
if m, ok := ParseMode(override); ok {
SetMode(m)
return
}
if strings.EqualFold(os.Getenv("TERM"), "dumb") || !isTerminal(w) {
c := console.Detect(w)
switch {
case c.NerdFont == console.Supported:
SetMode(ModeNerd)
case c.Unicode:
SetMode(ModeUnicode)
default:
SetMode(ModeNone)
return
}
SetMode(ModeNerd)
}

func isTerminal(w io.Writer) bool {
f, ok := w.(*os.File)
if !ok {
return false
}
return term.IsTerminal(f.Fd())
}

// Variants holds one glyph's rendering per mode: nerd-font, unicode, and
Expand Down
17 changes: 17 additions & 0 deletions glyph/glyph_mode_test.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,29 @@
package glyph

import (
"bytes"
"sync"
"testing"

"github.com/charmbracelet/lipgloss"
)

func TestDetectModeOverridesAndFallback(t *testing.T) {
prev := CurrentMode()
t.Cleanup(func() { SetMode(prev) })
t.Setenv("TERM", "dumb")
t.Setenv("VIEWKIT_NERD_FONT", "true")
for override, want := range map[string]Mode{
"": ModeNone, "invalid": ModeNone, "nerd": ModeNerd,
"unicode": ModeUnicode, "ascii": ModeNone,
} {
DetectMode(&bytes.Buffer{}, override)
if got := CurrentMode(); got != want {
t.Errorf("DetectMode(buffer, %q) = %v, want %v", override, got, want)
}
}
}

func TestSetModeIsRaceFreeWhileResolving(t *testing.T) {
prev := CurrentMode()
t.Cleanup(func() { SetMode(prev) })
Expand Down
19 changes: 9 additions & 10 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ module github.com/codyconfer/viewkit
go 1.26.5

require (
github.com/charmbracelet/bubbles v0.21.0
github.com/charmbracelet/bubbles v1.0.0
github.com/charmbracelet/bubbletea v1.3.10
github.com/charmbracelet/lipgloss v1.1.0
github.com/charmbracelet/x/ansi v0.11.7
github.com/charmbracelet/x/ansi v0.11.9
github.com/charmbracelet/x/term v0.2.2
github.com/muesli/termenv v0.16.0
golang.org/x/sync v0.22.0
golang.org/x/sync v0.24.0
)

require (
Expand All @@ -19,15 +19,14 @@ require (
github.com/clipperhouse/displaywidth v0.11.0 // indirect
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect
github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/lucasb-eyer/go-colorful v1.4.1 // indirect
github.com/mattn/go-isatty v0.0.24 // indirect
github.com/mattn/go-localereader v0.0.1 // indirect
github.com/mattn/go-runewidth v0.0.23 // indirect
github.com/mattn/go-runewidth v0.0.31 // indirect
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 // indirect
github.com/muesli/cancelreader v0.2.2 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect
golang.org/x/sys v0.47.0 // indirect
golang.org/x/text v0.40.0 // indirect
github.com/xo/terminfo v1.3.1 // indirect
golang.org/x/sys v0.49.0 // indirect
golang.org/x/text v0.43.0 // indirect
)
39 changes: 18 additions & 21 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=
github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8=
github.com/charmbracelet/bubbles v0.21.0 h1:9TdC97SdRVg/1aaXNVWfFH3nnLAwOXr8Fn6u6mfQdFs=
github.com/charmbracelet/bubbles v0.21.0/go.mod h1:HF+v6QUR4HkEpz62dx7ym2xc71/KBHg+zKwJtMw+qtg=
github.com/charmbracelet/bubbles v1.0.0 h1:12J8/ak/uCZEMQ6KU7pcfwceyjLlWsDLAxB5fXonfvc=
github.com/charmbracelet/bubbles v1.0.0/go.mod h1:9d/Zd5GdnauMI5ivUIVisuEm3ave1XwXtD1ckyV6r3E=
github.com/charmbracelet/bubbletea v1.3.10 h1:otUDHWMMzQSB0Pkc87rm691KZ3SWa4KUlvF9nRvCICw=
github.com/charmbracelet/bubbletea v1.3.10/go.mod h1:ORQfo0fk8U+po9VaNvnV95UPWA1BitP1E0N6xJPlHr4=
github.com/charmbracelet/colorprofile v0.4.3 h1:QPa1IWkYI+AOB+fE+mg/5/4HRMZcaXex9t5KX76i20Q=
github.com/charmbracelet/colorprofile v0.4.3/go.mod h1:/zT4BhpD5aGFpqQQqw7a+VtHCzu+zrQtt1zhMt9mR4Q=
github.com/charmbracelet/lipgloss v1.1.0 h1:vYXsiLHVkK7fp74RkV7b2kq9+zDLoEU4MZoFqR/noCY=
github.com/charmbracelet/lipgloss v1.1.0/go.mod h1:/6Q8FR2o+kj8rz4Dq0zQc3vYf7X+B0binUUBwA0aL30=
github.com/charmbracelet/x/ansi v0.11.7 h1:kzv1kJvjg2S3r9KHo8hDdHFQLEqn4RBCb39dAYC84jI=
github.com/charmbracelet/x/ansi v0.11.7/go.mod h1:9qGpnAVYz+8ACONkZBUWPtL7lulP9No6p1epAihUZwQ=
github.com/charmbracelet/x/ansi v0.11.9 h1:kIrqLBxtTVbLyyHO2Evoi93EjQo1mylWmpNEsfPxXAM=
github.com/charmbracelet/x/ansi v0.11.9/go.mod h1:DG/hpOnaI2QJ/KMMqLL2h0KVhluuJLazf8973P+Vy5w=
github.com/charmbracelet/x/cellbuf v0.0.15 h1:ur3pZy0o6z/R7EylET877CBxaiE1Sp1GMxoFPAIztPI=
github.com/charmbracelet/x/cellbuf v0.0.15/go.mod h1:J1YVbR7MUuEGIFPCaaZ96KDl5NoS0DAWkskup+mOY+Q=
github.com/charmbracelet/x/term v0.2.2 h1:xVRT/S2ZcKdhhOuSP4t5cLi5o+JxklsoEObBSgfgZRk=
Expand All @@ -20,14 +20,14 @@ github.com/clipperhouse/uax29/v2 v2.7.0 h1:+gs4oBZ2gPfVrKPthwbMzWZDaAFPGYK72F0NJ
github.com/clipperhouse/uax29/v2 v2.7.0/go.mod h1:EFJ2TJMRUaplDxHKj1qAEhCtQPW2tJSwu5BF98AuoVM=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f h1:Y/CXytFA4m6baUTXGLOoWe4PQhGxaX0KpnayAqC48p4=
github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f/go.mod h1:vw97MGsxSvLiUE2X8qFplwetxpGLQrlU1Q9AUEIzCaM=
github.com/lucasb-eyer/go-colorful v1.4.0 h1:UtrWVfLdarDgc44HcS7pYloGHJUjHV/4FwW4TvVgFr4=
github.com/lucasb-eyer/go-colorful v1.4.0/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/lucasb-eyer/go-colorful v1.4.1 h1:1EO+WB73+EH8EVbzlrG3KLAfEypQWVHIBqlTf+2hNss=
github.com/lucasb-eyer/go-colorful v1.4.1/go.mod h1:R4dSotOR9KMtayYi1e77YzuveK+i7ruzyGqttikkLy0=
github.com/mattn/go-isatty v0.0.24 h1:tGZZoVgT/KiqK1c8ocVLeDS8BSWMRd47J3Lbz7vsReI=
github.com/mattn/go-isatty v0.0.24/go.mod h1:nMCL3Zebbrt45jsMDgnfIwz6ydEQApk5oEI3HqDio6A=
github.com/mattn/go-localereader v0.0.1 h1:ygSAOl7ZXTx4RdPYinUpg6W99U8jWvWi9Ye2JC/oIi4=
github.com/mattn/go-localereader v0.0.1/go.mod h1:8fBrzywKY7BI3czFoHkuzRoWE9C+EiG4R1k4Cjx5p88=
github.com/mattn/go-runewidth v0.0.23 h1:7ykA0T0jkPpzSvMS5i9uoNn2Xy3R383f9HDx3RybWcw=
github.com/mattn/go-runewidth v0.0.23/go.mod h1:XBkDxAl56ILZc9knddidhrOlY5R/pDhgLpndooCuJAs=
github.com/mattn/go-runewidth v0.0.31 h1:1oCV4ReTlosDBc6rYRw5cL8S/4y8iv5oRl4SJ5IBgwo=
github.com/mattn/go-runewidth v0.0.31/go.mod h1:3qAiGCV4Koz/yuveO58qUefmUTRm8r0IGEXZ9jeHp/8=
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6 h1:ZK8zHtRHOkbHy6Mmr5D264iyp3TiX5OmNcI5cIARiQI=
github.com/muesli/ansi v0.0.0-20230316100256-276c6243b2f6/go.mod h1:CJlz5H+gyd6CUWT45Oy4q24RdLyn7Md9Vj2/ldJBSIo=
github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELUXHmA=
Expand All @@ -36,15 +36,12 @@ github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc
github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/yqS/lQJ6PmkyIV3YP+o=
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8=
golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek=
golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
github.com/xo/terminfo v1.3.1 h1:4ZwPCuu4PEFw0PkNp3Hv/x3gqvgLCzYhurszsj101cM=
github.com/xo/terminfo v1.3.1/go.mod h1:lGzkSo8Fe7IRh/w+Gqz7n5mDog4FVXCj3gy/DYTBqio=
golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA=
golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0=
golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs=
golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
golang.org/x/text v0.40.0 h1:Ub2Z6/xjgF1WrYQz2nuITOEegKFtiIy+rieRJ5lHZKs=
golang.org/x/text v0.40.0/go.mod h1:hpnzDAfGV753zIKo+wk3u1bVKCGPbrnF7+7LBF/UHVY=
golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA=
golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc=
golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s=
Loading
Loading