When I build and use wren_cli with a dark them on MacOS, the gray color comes up as black, and so is invisible.
This is the color used for the command prompt, and many other items (like braces, dot, parens, etc).
I found that changing the static color value in src/module/repl.wren fixes the problem for me.
But I would like verification from others on MacOS and also LInux (KDE, Gnome).
Here's the simple code change, around line 400 in repl.wren.
//static gray { "\x1b[30;1m" }
static gray { "\x1b[38;5;8m" }
If you make the change, you need to regenerate the repl.wren.inc file using :
util/wren_to_c_string.py
Let me know. If others have this problem, I can fork the repo as send over a pull request (PR).
When I build and use wren_cli with a dark them on MacOS, the gray color comes up as black, and so is invisible.
This is the color used for the command prompt, and many other items (like braces, dot, parens, etc).
I found that changing the static color value in
src/module/repl.wrenfixes the problem for me.But I would like verification from others on MacOS and also LInux (KDE, Gnome).
Here's the simple code change, around line 400 in repl.wren.
If you make the change, you need to regenerate the
repl.wren.incfile using :util/wren_to_c_string.pyLet me know. If others have this problem, I can fork the repo as send over a pull request (PR).