mirror of
https://github.com/restic/restic.git
synced 2026-11-15 18:36:45 +00:00
termstatus: add stdin and inject into backup command
This commit is contained in:
1 parent
ca5b0c0249
commit
96af35555a
14 files changed
+73
-41
No files matched your search
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
func TestSetStatus(t *testing.T) {
|
||||
var buf bytes.Buffer
|
||||
term := New(&buf, io.Discard, false)
|
||||
term := New(nil, &buf, io.Discard, false)
|
||||
|
||||
term.canUpdateStatus = true
|
||||
term.fd = ^uintptr(0)
|
||||
|
||||
Reference in new issue
Block a user