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