Fix issues with the terminal prompt example
Fix issues with the terminal prompt example

magus424/powerline,bezhermoso/powerline,Luffin/powerline,cyrixhero/powerline,blindFS/powerline,bartvm/powerline,darac/powerline,lukw00/powerline,Liangjianghao/powerline,keelerm84/powerline,lukw00/powerline,junix/powerline,wfscheper/powerline,darac/powerline,areteix/powerline,seanfisk/powerline,s0undt3ch/powerline,dragon788/powerline,IvanAli/powerline,russellb/powerline,S0lll0s/powerline,bartvm/powerline,wfscheper/powerline,Liangjianghao/powerline,xxxhycl2010/powerline,S0lll0s/powerline,bezhermoso/powerline,blindFS/powerline,firebitsbr/powerline,magus424/powerline,lukw00/powerline,Liangjianghao/powerline,QuLogic/powerline,firebitsbr/powerline,EricSB/powerline,dragon788/powerline,xxxhycl2010/powerline,bezhermoso/powerline,prvnkumar/powerline,xfumihiro/powerline,s0undt3ch/powerline,Luffin/powerline,keelerm84/powerline,DoctorJellyface/powerline,seanfisk/powerline,S0lll0s/powerline,darac/powerline,prvnkumar/powerline,russellb/powerline,kenrachynski/powerline,IvanAli/powerline,junix/powerline,magus424/powerline,IvanAli/powerline,xxxhycl2010/powerline,QuLogic/powerline,xfumihiro/powerline,Luffin/powerline,seanfisk/powerline,kenrachynski/powerline,cyrixhero/powerline,bartvm/powerline,firebitsbr/powerline,wfscheper/powerline,DoctorJellyface/powerline,cyrixhero/powerline,blindFS/powerline,junix/powerline,QuLogic/powerline,s0undt3ch/powerline,EricSB/powerline,areteix/powerline,areteix/powerline,kenrachynski/powerline,xfumihiro/powerline,prvnkumar/powerline,dragon788/powerline,DoctorJellyface/powerline,russellb/powerline,EricSB/powerline