mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
termstatus: centralize OutputIsTerminal checks
This commit is contained in:
@@ -17,4 +17,5 @@ type Terminal interface {
|
||||
// other option. Must not be used in combination with Print, Error, SetStatus
|
||||
// or any other method that writes to the terminal.
|
||||
OutputRaw() io.Writer
|
||||
OutputIsTerminal() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user