Skip to content

Commit

Permalink
Fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mofux committed Jul 11, 2017
1 parent f298b8f commit e36dfb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SelectionManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,13 +325,13 @@ export class SelectionManager extends EventEmitter {
private _refresh(): void {
this._refreshAnimationFrame = null;
this.emit('refresh', { start: this._model.finalSelectionStart, end: this._model.finalSelectionEnd });

// Set / unset the 'selection-active' class on the terminal.
// If the class exists, the background will be rendered inside a :before
// element, which allows us to draw the selection between the foreground
// and the background
this.hasSelection ?
this._terminal.element.classList.add('selection-active') :
this.hasSelection ?
this._terminal.element.classList.add('selection-active') :
this._terminal.element.classList.remove('selection-active');
}

Expand Down

0 comments on commit e36dfb4

Please sign in to comment.