schuster / racket-irc

Racket IRC library
MIT License
15 stars 7 forks source link

Scan for IRC Messages by their CRLF delimiter #33

Closed winny- closed 2 years ago

winny- commented 2 years ago

Looks like read-line scans by LF out of the box, but can be configured to scan by CRLF, as per the IRC specification https://datatracker.ietf.org/doc/html/rfc1459#section-2.3.1 . I initially ran into this bug because the retained CR was being logged to terminal, causing the cursor to move to the beginning of the line and partially overwrite the log line.