JAKYM
JAKYM copied to clipboard
The UI becommes very messy and unreadable.
Curses Library can be used to paint the terminal effectively. This will lead to a better UI/UX.
I have been looking at https://github.com/willmcgugan/textual but this only has support for linux/mac and promised windows support in future. I do not want to fracturre my codebase so I am still looking for alternatives, if anyone has experience in curses and would like to feel free to generate a pull request.
ptk is probably the best lib for this instead of using bindings to curses stuff.
(hint it's what already well established REPL programs ported to in the last 5 years like ipyton
, xonsh
, coconut
, and many many more)
I will say one of the things I found unintuitive that on boot you have no prompt to indicate to the user that you can indeed send input.
for example something like:
<jakym>>> commands
could be much more informative.
Also, it'd be handy if the commands
command output was printed on first entry to your REPL 😉