Skip to content
Sign upLog in
← Back to Community

Fix for console bugs on mobile

Profile icon
GrantStaten

On all of my cpp repls I have had trouble using the console on mobile. I don't normally use mobile but when I do it works for a bit and then is suddenly un-usable.
What happens is after I press enter for a cin, on the next cin, it already contains the text I typed on the previous cin, then sometimes when I tr y to backspace what carried over, instead of it being deleted, the text gets duplicated every time I press backspace... Any help appreciated, thanks.

Voters
Profile icon
ShaunB19
Profile icon
JackWatch
Profile icon
CodingCactus
Profile icon
GrantStaten
Comments
hotnewtop
Profile icon
Adora16

Could you post what browser you are using and its version? Maybe it is an issue with one of the mobile browsers.

Profile icon
GrantStaten

@Shemira
I am using Chrome, I just tried installing SwiftKey keyboard to use instead of gboard and the problem seems to be resolved...

Profile icon
CodingCactus

@GrantStaten
I had the same problem using chrome and gboard, does changing from gboard definitely fix it?

Profile icon
Adora16

@GrantStaten
I have no idea whether or not the type of keyboard you are using matters. Probably the best place to report this is at https://repl.it/bugs.

Profile icon
GrantStaten

@CodingCactus
yeah it ended up being that on gboard when you press enter it thinks it's still part of the same word so it does weird stuff when you backspace and press enter, switching keyboards fixed it

Profile icon
GrantStaten

@Shemira
switching the keyboard definitely fixed it, the problem was that gboard still considered it to be the same word when you pressed enter

Profile icon
Adora16

@GrantStaten
Huh, I did not know that. Well, I am glad you solved the problem. Perhaps it would be worth reporting it as a bug.

Profile icon
GrantStaten

@Shemira
where do I report a bug?

Profile icon
Adora16

@GrantStaten
https://repl.it/bugs

Profile icon
Adora16

Can you provide a video? It would help us understand you issue better.

Profile icon
GrantStaten

@Shemira
now that I'm trying to record it, it isn't happening... I'll keep trying to get it on video

Profile icon
Adora16

@GrantStaten
Okay, once you get the video posted, hopefully your problem will make more sense.