Skip to content

Commit 8d4a1e0

Browse files
committed
fix: Add missing TextEncoder to PTT
Solves this eslint issue: /puter/packages/terminal/src/pty/PTT.js 35:29 error 'encoder' is not defined no-undef
1 parent 280479c commit 8d4a1e0

File tree

1 file changed

+1
-0
lines changed
  • packages/terminal/src/pty

1 file changed

+1
-0
lines changed

packages/terminal/src/pty/PTT.js

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
*/
2222
export class PTT {
2323
constructor(pty) {
24+
const encoder = new TextEncoder();
2425
this.readableStream = new ReadableStream({
2526
start: controller => {
2627
this.readController = controller;

0 commit comments

Comments
 (0)