feature: Adds better command line argument parsing.

This commit is contained in:
greysoh 2024-05-06 20:21:10 -04:00
parent ea2fd4bff1
commit e85838d438
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571
6 changed files with 663 additions and 37 deletions

View file

@ -78,7 +78,7 @@ server.on("connection", client => {
);
function println(...str: string[]) {
stream.write(format(...str).replace("\n", "\r\n"));
stream.write(format(...str).replaceAll("\n", "\r\n"));
};
while (true) {