New upstream version 1.5.0+ds1

This commit is contained in:
Roland Mas
2023-01-02 14:19:29 +01:00
parent 29e4ea6ec0
commit 5c4f97f88e
324 changed files with 15360 additions and 6668 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func (p *Progress) Flush() {
}
// InitBar starts progressbar for count bytes or count items
func (p *Progress) InitBar(count int64, isBytes bool) {
func (p *Progress) InitBar(count int64, isBytes bool, barType aptly.BarType) {
if p.bar != nil {
panic("bar already initialized")
}
+2 -2
View File
@@ -3,10 +3,10 @@ package console
import (
"syscall"
"golang.org/x/crypto/ssh/terminal"
"golang.org/x/term"
)
// RunningOnTerminal checks whether stdout is terminal
func RunningOnTerminal() bool {
return terminal.IsTerminal(syscall.Stdout)
return term.IsTerminal(syscall.Stdout)
}