Ask coding questions

← Back to all posts
How do I make it so the words don't go off the page?
Jrb12

So i've been doing a thing, but every time text appears, the words cut off. So for good, on end it will be "goo" and then starting the next line it will just be a "d". Is there a fix for this?

Voters
Jrb12
Comments
hotnewtop
JohnWang12

My suggestion is to add a newline thing (\n) right before whatever word is cut off, so instead of half of the word being on one line and the other half on the second, the entire word will be be in one piece on the second line.

Jrb12

@JohnWang12 Thanks!

Wumi4

Try to stretch the console.

Jrb12

@Wumi4 Thanks!