mirror of
https://github.com/restic/restic.git
synced 2026-10-30 03:55:42 +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,6 +13,8 @@ type Terminal interface {
|
||||
SetStatus(lines []string)
|
||||
// CanUpdateStatus returns true if the terminal can update the status lines.
|
||||
CanUpdateStatus() bool
|
||||
InputRaw() io.ReadCloser
|
||||
InputIsTerminal() bool
|
||||
// OutputRaw returns the output writer. Should only be used if there is no
|
||||
// other option. Must not be used in combination with Print, Error, SetStatus
|
||||
// or any other method that writes to the terminal.
|
||||
|
||||
Reference in new issue
Block a user