| 172 | } |
| 173 | |
| 174 | func captureTerminalOutputWithShellName(t testing.TB, tester shellTester, overriddenShellName string, commands []string) string { |
| 175 | sCommands := make([]TmuxCommand, 0) |
| 176 | for _, command := range commands { |
| 177 | sCommands = append(sCommands, TmuxCommand{Keys: command}) |
| 178 | } |
| 179 | return captureTerminalOutputWithShellNameAndDimensions(t, tester, overriddenShellName, 200, 50, sCommands) |
| 180 | } |
| 181 | |
| 182 | func captureTerminalOutputWithShellNameAndDimensions(t testing.TB, tester shellTester, overriddenShellName string, width, height int, commands []TmuxCommand) string { |
| 183 | return captureTerminalOutputComplex(t, |