Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 2b5ba15

Browse files
committed
Fix linter.
1 parent 953bcd9 commit 2b5ba15

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/Output.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class Output extends events.EventEmitter {
167167
constructor(private terminalDevice: TerminalLikeDevice, public dimensions: Dimensions) {
168168
super();
169169

170-
this.normalBuffer = new Buffer(this,200);
170+
this.normalBuffer = new Buffer(this, 200);
171171
this.alternateBuffer = new Buffer(this, 0);
172172

173173
this.parser = new ansiParserConstructor({

src/views/OutputComponent.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ export class OutputComponent extends React.Component<Props, {}> {
5959
const output = this.props.job.output;
6060
const buffer = output.activeBuffer;
6161
const showCursor = this.props.job.status === Status.InProgress && (buffer._showCursor || buffer._blinkCursor);
62-
const cursorComponent = showCursor ? <span className="cursor" data-row-index={buffer.cursorRowIndex} style={css.cursor(buffer.cursorRowIndex, buffer.cursorColumnIndex, buffer.scrollbackSize)}/> : undefined;
62+
const cursorComponent = showCursor
63+
? <span className="cursor" data-row-index={buffer.cursorRowIndex}
64+
style={css.cursor(buffer.cursorRowIndex, buffer.cursorColumnIndex, buffer.scrollbackSize)}/>
65+
: undefined;
6366

6467
const rowComponents = buffer.map((row, index) => <RowComponent key={index} index={index} row={row}/>);
6568

0 commit comments

Comments
 (0)