-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local echo is in white #18
Comments
Hi @Naohiro2g, thanks for reporting this issue.
That is true and I didn't realise this wouldn't allow to use a light color theme. 🤦
This is actually my setup too. The prompt style is defined at : upydev/sh_srepl_dir/bin/sh_srepl Line 664 in a07d596
It's the hexadecimal color code under I will introduce an option to change the colors in the next release, but for now you could clone the repo and modify it at will 👍 . |
Thank you for the confirmation. The setting for colon seems the same. I assume you don't have to specify the attributes then it will fall back to the user settings, right? upydev wrepl is away from this. |
I guess so, but I haven't checked that yet.
Yes for the SHELL-REPLS I'm using a custom prompt to set the colors of the shell and change from shell to repl mode. For wrepl I only introduced key bindings for custom shortcuts, the prompt is default repl If you are interested this is the library I use for this shell-repl modes : https://python-prompt-toolkit.readthedocs.io/en/master/ |
Thanks. Custom settings for the prompt is a nice idea and I like it. The green is good in the light theme, too. User input and colon should be in gray or light gray, or remain in colors as defined in the theme. By the way, I'm waiting for my Raspberry Pi Pico coming. Did you get one? |
Yes it shouldn't be too difficult to implement a config file for the prompt colors, perhaps something like the
Not yet but I'm planning to do so. 👀
Yes, every contribution is welcome. 🎉
I don't know how to do that, but I know you can configure a file with keyboard shortcuts to work with the terminal, (for example to upload a script or run code in the device, see HOWTO |
I tried sh_srepl and the connection established successfully but I got no echo back to the terminal.
No, it was there but in white. If I changed the color theme from light to dark, it turned to visible.
It seems the character color for the local echo is hard coded to white.
The target is ESP32 and I'm on macOS Mojave with iterm2 app.
The text was updated successfully, but these errors were encountered: