terminal-quest
terminal-quest copied to clipboard
Word wrap on terminal is a bit sensitive
When we add colours to words in the terminal, we add lots of invisible characters on either side of the word. We manually calculate how many letters we can fit before we wrap around, and the invisible characters make the line wrap too early.