Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed May 28, 2024
1 parent 388f9cd commit be4cc2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export class Terminal implements ITerminal {
const message_type = data[0];
const content = data.slice(1);

if (message_type == 'stdin') {
if (message_type === 'stdin') {
await this._shell!.input(content[0] as string);
} else if (message_type == 'set_size') {
} else if (message_type === 'set_size') {
const rows = content[0] as number;
const columns = content[1] as number;
await this._shell!.setSize(rows, columns);
Expand Down

0 comments on commit be4cc2e

Please sign in to comment.