JAKYM icon indicating copy to clipboard operation
JAKYM copied to clipboard

The UI becommes very messy and unreadable.

Open themayankjha opened this issue 3 years ago • 2 comments

Curses Library can be used to paint the terminal effectively. This will lead to a better UI/UX.

themayankjha avatar Jun 05 '21 09:06 themayankjha

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.

themayankjha avatar Oct 31 '21 19:10 themayankjha

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 😉

goodboy avatar Jan 17 '23 20:01 goodboy