Skip to content

Commit

Permalink
fix eclipse-theia#6767: avoid using server title for integrated terminal
Browse files Browse the repository at this point in the history
Signed-off-by: Cai Xuye <a1994846931931@gmail.com>
  • Loading branch information
a1994846931931 committed Jan 21, 2020
1 parent 6976745 commit 7097574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/debug/src/browser/debug-session.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export class DebugSession implements CompositeTreeElement {
}

protected async runInTerminal({ arguments: { title, cwd, args, env } }: DebugProtocol.RunInTerminalRequest): Promise<DebugProtocol.RunInTerminalResponse['body']> {
const terminal = await this.doCreateTerminal({ title, cwd, env });
const terminal = await this.doCreateTerminal({ title, cwd, env, useServerTitle: false });
terminal.sendText(args.join(' ') + '\n');
return { processId: await terminal.processId };
}
Expand Down

0 comments on commit 7097574

Please sign in to comment.