Fix for console bugs on mobile
h
GrantStaten (2)

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.

You are viewing a single comment. View All
Shemira (13)

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

GrantStaten (2)

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

CodingCactus (2824)

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

Shemira (13)

@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.

GrantStaten (2)

@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

GrantStaten (2)

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

Shemira (13)

@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.

GrantStaten (2)

@Shemira where do I report a bug?