Tidy up
This commit is contained in:
parent
9366786ec6
commit
f88820646b
|
@ -515,7 +515,6 @@ import { assertNoRpc } from '../utils';
|
|||
// The default pty dimensions have a chance to appear here since override
|
||||
// dimensions happens after the terminal is created. If so just ignore and
|
||||
// wait for the right dimensions
|
||||
console.log('onDidChangeTerminalDimensions', e);
|
||||
if (e.dimensions.columns === 10 || e.dimensions.rows === 5) {
|
||||
disposables.push(window.onDidCloseTerminal(() => r()));
|
||||
terminal.dispose();
|
||||
|
|
|
@ -576,7 +576,7 @@ export abstract class BaseExtHostTerminalService extends Disposable implements I
|
|||
|
||||
protected _setupExtHostProcessListeners(id: number, p: ITerminalChildProcess): IDisposable {
|
||||
const disposables = new DisposableStore();
|
||||
disposables.add(p.onProcessReady((e: { pid: number, cwd: string }) => this._proxy.$sendProcessReady(id, e.pid, e.cwd)));
|
||||
disposables.add(p.onProcessReady(e => this._proxy.$sendProcessReady(id, e.pid, e.cwd)));
|
||||
disposables.add(p.onDidChangeProperty(property => this._proxy.$sendProcessProperty(id, property)));
|
||||
|
||||
// Buffer data events to reduce the amount of messages going to the renderer
|
||||
|
|
Loading…
Reference in a new issue