| 1 | namespace CascadeIDE.Features.Terminal.DataAcquisition; |
| 2 | |
| 3 | internal interface IIntegratedShellSession : IDisposable |
| 4 | { |
| 5 | event Action<byte[]>? DataReceived; |
| 6 | |
| 7 | event Action<int>? Exited; |
| 8 | |
| 9 | void Start(); |
| 10 | |
| 11 | void Send(byte[] input); |
| 12 | |
| 13 | void Resize(int cols, int rows); |
| 14 | } |
| 15 | |
| 16 | internal sealed record ShellLaunchConfiguration( |
| 17 | string FileName, |
| 18 | IReadOnlyList<string> Arguments, |
| 19 | string DisplayName, |
| 20 | string WorkingDirectory); |
| 21 |