Skip to content

Commit 6317c04

Browse files
committed
chore: 更新依赖项
1 parent 4b331b9 commit 6317c04

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

colors/fmt.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2014-2024 caixw
1+
// SPDX-FileCopyrightText: 2014-2025 caixw
22
//
33
// SPDX-License-Identifier: MIT
44

@@ -64,5 +64,5 @@ func Sprintf(t Type, foreground, background Color, format string, v ...any) stri
6464
}
6565

6666
color := string(sgr(t, foreground, background))
67-
return fmt.Sprintf(color + fmt.Sprintf(format, v...) + string(ansi.SGR()))
67+
return fmt.Sprint(color + fmt.Sprintf(format, v...) + string(ansi.SGR()))
6868
}

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/issue9/term/v3
33
require (
44
github.com/issue9/assert/v4 v4.3.1
55
github.com/issue9/errwrap v0.3.2
6-
golang.org/x/sys v0.26.0
6+
golang.org/x/sys v0.30.0
77
)
88

99
go 1.18.0

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ github.com/issue9/assert/v4 v4.3.1 h1:dHYODk1yV7j/1baIB6K6UggI4r1Hfuljqic7PaDbwL
22
github.com/issue9/assert/v4 v4.3.1/go.mod h1:v7qDRXi7AsaZZNh8eAK2rkLJg5/clztqQGA1DRv9Lv4=
33
github.com/issue9/errwrap v0.3.2 h1:7KEme9Pfe75M+sIMcPCn/DV90wjnOcRbO4DXVAHj3Fw=
44
github.com/issue9/errwrap v0.3.2/go.mod h1:KcCLuUGiffjooLCUjL89r1cyO8/HT/VRcQrneO53N3A=
5-
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
6-
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
5+
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc=
6+
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=

0 commit comments

Comments
 (0)