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 trialJennifer Esposito
2,473 PointsTroubleshooting the console
When I open the console, it says treehouse:~/workspace$. I can't delete it, and I'm unable to use the parseFloat function with it there. Does anyone know how to make it go away?
2 Answers
Steven Parker
231,275 PointsYou can click the "X" on the upper right of the console pane to close it, or you can select "Hide Console" from the "view" menu.
But being open should not prevent any of the code from running. I typically leave the console open at all times and have no problems.
If you need help with a specific workspace issue, you can make a snapshot of your workspace and post the link to it here.
Jennifer Esposito
2,473 PointsI know how to open and close the console. I just don't know how to make "treehouse:~/workspace$" go away. :-/
Steven Parker
231,275 PointsThat's the command prompt. It lets you know that the previous operation has completed and that the system is ready for a new command. I wouldn't think you'd want to eliminate it, but you might want to change what it says. I provided a comment to my answer with an example.
But I cannot imagine how it could interfere with anything in your program. I strongly suspect your actual issue is related to something else.
Steven Parker
231,275 PointsSteven Parker
231,275 PointsYou can change the command prompt by setting the "PS1" environment variable, for example:
PS1='Ready> '
You can eliminate it completely with the command "
unset PS1
", but this is not recommended as you will no longer get any feedback when a command has completed.