mirror of
https://github.com/octoleo/restic.git
synced 2024-11-27 15:26:37 +00:00
11 lines
274 B
Go
11 lines
274 B
Go
|
package ui
|
||
|
|
||
|
// Terminal is used to write messages and display status lines which can be
|
||
|
// updated. See termstatus.Terminal for a concrete implementation.
|
||
|
type Terminal interface {
|
||
|
Print(line string)
|
||
|
Error(line string)
|
||
|
SetStatus(lines []string)
|
||
|
CanUpdateStatus() bool
|
||
|
}
|