(payload: Record<string, number | string>)
| 65 | const ESCAPED_CARRIAGE_RETURN = "\x1b\r"; |
| 66 | |
| 67 | const encodeTerminalPayload = (payload: Record<string, number | string>) => { |
| 68 | return new TextEncoder().encode(JSON.stringify(payload)); |
| 69 | }; |
| 70 | |
| 71 | export const WorkspaceTerminal = ({ |
| 72 | ref, |
no outgoing calls
no test coverage detected