提交 55667fbb 编写于 作者: D Daniel Imms

Format terminalCommandTracker

上级 2b014a07
......@@ -190,7 +190,7 @@ export class TerminalCommandTracker implements ITerminalCommandTracker {
this._xterm.scrollToTop();
return;
} else if (this._currentMarker === Boundary.Bottom) {
this._currentMarker = this._xterm.addMarker(this._getOffset()-1);
this._currentMarker = this._xterm.addMarker(this._getOffset() - 1);
this._isDisposable = true;
this._scrollToMarker(this._currentMarker, scrollPosition);
return;
......@@ -212,7 +212,7 @@ export class TerminalCommandTracker implements ITerminalCommandTracker {
}
if (this._currentMarker === Boundary.Top) {
this._currentMarker = this._xterm.addMarker(this._getOffset()+1);
this._currentMarker = this._xterm.addMarker(this._getOffset() + 1);
this._isDisposable = true;
this._scrollToMarker(this._currentMarker, scrollPosition);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册