Compare commits
1 Commits
master
...
c108679fc9
Author | SHA1 | Date | |
---|---|---|---|
c108679fc9 |
@ -42,10 +42,6 @@ func Do(ctx context.Context, fn func(ctx context.Context, print func(msg string,
|
|||||||
start := time.Now()
|
start := time.Now()
|
||||||
ch := make(chan *_msg)
|
ch := make(chan *_msg)
|
||||||
|
|
||||||
defer func() {
|
|
||||||
fmt.Printf("\r\033[K")
|
|
||||||
}()
|
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
var (
|
var (
|
||||||
m *_msg
|
m *_msg
|
||||||
@ -53,6 +49,10 @@ func Do(ctx context.Context, fn func(ctx context.Context, print func(msg string,
|
|||||||
processing string
|
processing string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
defer func() {
|
||||||
|
fmt.Printf("\r\033[K")
|
||||||
|
}()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
for _, frame := range frames {
|
for _, frame := range frames {
|
||||||
select {
|
select {
|
||||||
|
@ -4,7 +4,7 @@ const Version = "v24.12.27-r03"
|
|||||||
|
|
||||||
// const VersionURL = "https://github.com/loveuer/nf/nft/nfctl/internal/opt/version.go"
|
// const VersionURL = "https://github.com/loveuer/nf/nft/nfctl/internal/opt/version.go"
|
||||||
|
|
||||||
const VersionURL = "https://gitea.loveuer.com/loveuer/nf/raw/branch/master/nft/nfctl/internal/opt/version.go"
|
const VersionURL = "https://raw.githubusercontent.com/loveuer/nf/refs/heads/master/nft/nfctl/internal/opt/version.go"
|
||||||
|
|
||||||
const Banner = ` ___ __ __
|
const Banner = ` ___ __ __
|
||||||
___ / _/___/ /_/ /
|
___ / _/___/ /_/ /
|
||||||
|
Reference in New Issue
Block a user