 terminates Console in Python Repls

Problem description:
The  character (image) terminates the console in Python Repls. It is displayed when the program ends however it seems that it also ends the program.

Expected behavior:
I can enter any unicode character without ending a Repl.

Actual behavior:
The  character ends my Repl.

Steps to reproduce:
Create a Python Repl which asks for user input. I used the simple code while True: input() to demonstrate.

Bug appears at this link:
https://replit.com/@CoderElijah/FewRelievedMotion

Browser: Firefox
OS: Arch Linux
Device (Android, iOS, NA leave blank): HP EliteDesk G2 SFF
Desktop app version (Avatar menu->“Version”) or NA: NA
Plan (Free, Hacker, Pro Plan): Hacker

2 Likes

My guess is that you’re sending it to the VM, and the client checks for this private use character (probably used for ending the client stream), and ends the client session.

2 Likes

The thing is, your code will continue running after you print or input the character, it just Visually looks like it stopped.
I mentioned this a while back as well:

3 Likes

Ah, so I am halfway right.
It’s just a visual bug!

Probably shouldn’t worry,
after all, who would use the Private-Use Chars for anything printable anyway?

4 Likes

Me :upside_down_face:

Context: I like the way the character looks, so I use it as an input statement. I even made it a usable part of my primary package.

3 Likes

Hey @anon40284853!

Thank you for bringing this to our attention. We are working on changes to the console and its behavior, which solve this issue. We don’t have an ETA on when these changes will be out, however.

2 Likes

We have released a change to explorers which should fix this issue.

You can enable explorer by going to https://replit.com/account, going to the roles section, and flipping the “Explorer” switch

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.