schuster/racket-irc

Munges up lines motds and other lines where spaces matter

Closed this issue · 1 comments

I am writing an IRC client for fun using this and i found that the part that the code strips out all the spaces of the message content .

I think this is related to the string-split on line 135 of irc/main.rkt. where #:trim? should be set to false.

racket-irc spits out:

"-*- - ### ### ## ## ### ###"
"-*- - ## ## ## ## ###### ##### #### ###### ## ## ### # ## ## ######"
"-*- - ## ### ## ## ## ## ## ## ## ## ## ## ### # ## ##"

but it should look like

 "-*- - ### ###                                               ##  ## ### ###          "
 "-*- -  ##  ## ##   ## ###### #####    ####   ###### ##   ## ###  #  ##  ##  ######  "
 "-*- -  ##     ###  ##   ##  ##   ##  ##  ## ##   ## ##   ##  ### #  ##        ##    "

Thanks!

Thanks for the report; I'll fix this soon.