MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / restartRTerminal

Function restartRTerminal

src/rTerminal.ts:155–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153}
154
155export async function restartRTerminal(): Promise<void>{
156 if (typeof rTerm !== 'undefined'){
157 rTerm.dispose();
158 deleteTerminal(rTerm);
159 await createRTerm(true);
160 }
161}
162
163export function deleteTerminal(term: vscode.Terminal): void {
164 if (isDeepStrictEqual(term, rTerm)) {

Callers 1

dispatchRStudioAPICallFunction · 0.90

Calls 3

deleteTerminalFunction · 0.85
createRTermFunction · 0.85
disposeMethod · 0.65

Tested by

no test coverage detected