Lua Console, Issue w/Copying Text
I've been using repl.it for a while now alongside a text-based macro program and a while back I wrote some code in order to translate key strings into playable music in a game. I did this by manually typing in sequences of letters representing the notes to be played, running it through the program, and then copying the console output and pasting it to the macro text file.
Recently there's been a change or update that allowed lua to have multiple files and I can no longer use CTRL+C on the console. I went around this by selecting what I needed to and right-click copying the contents, but it seems that when I paste it, parts of the text are missing. More specifically, the spaces at the end of every forced line break when the text reaches the end of your screen.
The program is affected by the problem I'm having but isn't the cause of it, it's located here, https://repl.it/@Jammer622/Music-Sheet-Conversion-Unit
My question here is whether or not there's a way to copy the text output on the console without it removing spaces during line breaks, or if there's a way for repl.it to write the output to some sort of file I can either download or copy the text from, without things such as 'HOLD ZONE 0.01s' being copied as 'HOLDZONE 0.01s'.
Any help is appreciated, as I'm not skilled enough to know any methods other than using repl.it to accomplish what I need to.
I don't know if I can bump this traditionally, but if anyone has a solution or workaround to this, I would still really greatly appreciate it. If there's no known solution though, I'd much rather at least be informed.
My temporary solution is just going to be adding a few extra steps when copying the output by using a search-and-replace to add spaces where they belong.