jczic / ESP32-MPY-Jama

v1.2 - UI tool for manage Espressif ESP32 microcontrollers with embedded MicroPython for MacOS, Windows and Linux: mini IDE, files manager, REPL, real time dashboards (sys/net), advanced features (gpio/mp3/leds/...)
https://github.com/jczic/ESP32-MPY-Jama
MIT License
424 stars 25 forks source link

repl issues on linux (ubuntu) #39

Open ThinkTransit opened 1 year ago

ThinkTransit commented 1 year ago

Hi,

The repl display does not appear to show underscores _ maybe this is a problem on my machine.

Also the repl does not accept input when there is no >>> prompt. For example if you try import webrepl_setup it is impossible to complete the setup, repl is not recognising input.

image
jczic commented 1 year ago

Hello @ThinkTransit and thank you for using 🙂

I didn't understand the problem with the underscores, they work like any other characters though. (Do you are on Linux? Try the "Browse" to check yours files "boot.py" or "_boot.py" ?)

Concerning the "Input" mode of the REPL, in fact, the terminal does not support it because it is not directly linked to the same REPL as the default one of the serial UART but to the raw mode...

ThinkTransit commented 1 year ago

Hi @jczic,

Sorry I should have been clearer. What I meant is that the underscores aren't visible in the repl, until after you press enter.

It's a very strange issue, maybe it is a problem with my computer. See here. Recording 2023-04-12 at 22 53 40

jczic commented 1 year ago

Oh yes, it's just the fonts that are out of sync on your system apparently :( Hmm, at first sight, the fonts do not necessarily load correctly on Ubuntu :/

ThinkTransit commented 1 year ago

Thanks yes I'm using linux, ubuntu with kde desktop. I'm running with -g gtk otherwise I get a blank window.

I can test a different system font?

jczic commented 1 year ago

Let's say no, there is only one font that is specifically charged from this folder: https://github.com/jczic/ESP32-MPY-Jama/tree/master/src/content/ressources/font