Skip to content

Commit

Permalink
Add newline delimiter to IPC providers for broader support (#4847).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Oct 16, 2024
1 parent 9e7e7f3 commit 474a8de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src.ts/providers/provider-ipcsocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export class IpcSocketProvider extends SocketProvider {
}

async _write(message: string): Promise<void> {
if (!message.endsWith("\n")) { message += "\n"; }
this.socket.write(message);
}
}

0 comments on commit 474a8de

Please sign in to comment.