Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Console is cutting off bottom of text

My console is not centering the text, so it is going past the bottom so I can no longer see what I'm typing w/o clearing.

Edit: Below is a link to a picture of my issue. In the picture I drew a red arrow at the bottom pointing to my blinking cursor, you can barely see the top of it as it's almost entirely cut off. So you can see with the cursor that low, I can no longer see what I’m typing.

https://imgur.com/a/bAEVF33

Andy Hughes
Andy Hughes
8,479 Points

How do you mean "It's not centering the text". If your code is longer than the console window height, your current line may well sit on the bottom making it more difficult to see. However, it shouldn't disappear below the screen, unless you've got some sort of manual scrolling going on.

Maybe post a picture of what's happening :)

1 Answer

You can try adding parenths to your code or a """ """ in order to write multiline code/strings