Misalignment of output on phone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

Misalignment of output on phone

On pc (even when code is run from code playground) the following code output is aligned correctly. But when run on the phone it is not. (when a room is added it seems to be missing 'wall' characters after it) Is this just a sololearn thing? or is there an error in my code? https://code.sololearn.com/cgG79RwTt05C/?ref=app

8th Nov 2017, 11:27 PM
jay
jay - avatar
10 Answers
+ 16
theres a problem with normal chars used with extended ascii table in playground.. see this.. https://code.sololearn.com/cJa2808aXslS/?ref=app
8th Nov 2017, 11:31 PM
D_Stark
D_Stark - avatar
+ 10
Phew. I thought I had made some mistake somewhere and would have to go back to the drawing board!
8th Nov 2017, 11:34 PM
jay
jay - avatar
+ 9
indeed hmmmm
10th Nov 2017, 4:30 AM
jay
jay - avatar
+ 9
Thanks James!
10th Nov 2017, 6:51 AM
jay
jay - avatar
+ 8
thats cool! Thanks heaps for your answer. I think it is 100% correct. As it seems to span multiple languages. My code is prematurely public as well. But oh well. I don't know if I will make the final public yet.
8th Nov 2017, 11:57 PM
jay
jay - avatar
+ 8
I will try that! I am also going to take the code to another pc and operating system to make sure it is only happening here
9th Nov 2017, 12:11 AM
jay
jay - avatar
+ 7
hopefully your ok becuase thats a huge code lol, i removed my battery as i want to try and fix it before i make it public😜
8th Nov 2017, 11:52 PM
D_Stark
D_Stark - avatar
+ 7
goodluck!
9th Nov 2017, 12:18 AM
D_Stark
D_Stark - avatar
+ 6
thinking about it if you change everything to ascii extended char table without using any spaces on the left of your image,this should fix the problem
9th Nov 2017, 12:09 AM
D_Stark
D_Stark - avatar
+ 2
hmm.
10th Nov 2017, 4:12 AM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar