Closed milahu closed 2 years ago
Thanks again for the work on this!
Just taken a quick look (aware that is is WIP so feel free to take these comments with a pinch of salt)
One thing that caught my eye was the inclusion of a local pysimplegui. If you've added/ changed functionality then I'd suggest raising that upstream as it may benefit other users too. And if you don't fancy that then can you monkey patch it or add the functionality in a different file (may be worth vendoring depending on the size etc)
Just a forewarning that I won't be accepting a pr with +20k lines as I don't have the time to review that
basically working on linux, tested with autosub
just needed some glue code for the file inputs
cos autosub has type=str
but cli2gui needs type=argparse.FileType("rb")
todo: make it work on windows, using busybox-w32
sorry for abandoning this
iirc, the big issues were
for performance, its probably better to render the terminal with alacritty or kitty embedded into some widgets for menus and input forms
related
im still surprised that qt/gtk/tk dont have cross-platform ansi terminal widgets ...
Dw about it
Yeah agreed that there don't appear to be tons of solutions. Though what confuses me about this all is why you wouldn't use use your fav terminal to start the process in the first place?
If you're done with this then I'll probably close the pr
As you probably know you are absolutely welcome to fork this if you want/ need this feature. Just for it to be part of this project it could really do with being platform independent
Thank you for all your time on this though. Definitely appreciated! - it's nice to see that the project is useful to others too
why you wouldn't use use your fav terminal to start the process in the first place?
im thinking of "the user" who starts a gui app, enters his data via gui and expects the process to run as if it was started from a terminal emulator (but gui and terminal should be the same window) as bonus, the user gets features like bash job control, or command history
anyway, closing as abandoned : /
What is the purpose of this pull request? (put an "X" next to item)
What changes did you make? (Give an overview)
add a fully-featured bash terminal to the GUI to show the output of the process and to allow the user to "play" with a bash terminal
Which issue (if any) does this pull request address?
Fixes #8
Is there anything you'd like reviewers to focus on?