mirror of
https://github.com/HeyPuter/puter
synced 2024-11-15 06:15:47 +00:00
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
This commit is contained in:
parent
280479c0c6
commit
8d4a1e0ed3
@ -21,6 +21,7 @@
|
||||
*/
|
||||
export class PTT {
|
||||
constructor(pty) {
|
||||
const encoder = new TextEncoder();
|
||||
this.readableStream = new ReadableStream({
|
||||
start: controller => {
|
||||
this.readController = controller;
|
||||
|
Loading…
Reference in New Issue
Block a user