termstatus: add stdin and inject into backup command

This commit is contained in:
Michael Eischer
2025-10-03 18:55:46 +02:00
parent ca5b0c0249
commit 96af35555a
14 changed files with 73 additions and 41 deletions
+8
View File
@@ -25,6 +25,14 @@ func (m *MockTerminal) CanUpdateStatus() bool {
return true
}
func (m *MockTerminal) InputRaw() io.ReadCloser {
return nil
}
func (m *MockTerminal) InputIsTerminal() bool {
return true
}
func (m *MockTerminal) OutputRaw() io.Writer {
return nil
}