LogosLinuxInstaller icon indicating copy to clipboard operation
LogosLinuxInstaller copied to clipboard

Switch TUI to Alternative Library?

Open thw26 opened this issue 1 year ago • 3 comments

https://github.com/urwid/urwid

The current TUI is in progress of creating a high level curses/dialog API. Switching to urwid would let us drop tui_screen.py, tui_curses.py, and tui_dialog.py, and it would also let us drastically simplify tui_app.py and likely launching the TUI app from main.py.

This would in turn reduce our custom code maintenance but introduce another project as a dependency.

I believe this transition would be worth the effort, particularly surrounding our desires in #147 and in #206.

thw26 avatar Nov 13 '24 05:11 thw26

My tests so far have much functionality in place, except for choosing the install directory. This will require more work on my part to get right.

thw26 avatar Nov 22 '24 17:11 thw26

cf. https://click.palletsprojects.com/en/stable/

thw26 avatar Dec 24 '24 03:12 thw26

This is particularly driven by a desire for a file browser in path selection. Here's another example:

https://gitlab.com/tripcodeq7/xplore_file_browser

Here's one using Uni-Curses. Can we port it?

https://github.com/GiorgosXou/TUIFIManager

Here's another:

https://gist.github.com/rygwdn/394885 and a later fork: https://gist.github.com/scionsamurai/3974ee1b185f2eb3d20a8fd22ac50d4c

thw26 avatar Feb 15 '25 17:02 thw26

I think #199 would be a better solution. Closing.

thw26 avatar Sep 11 '25 16:09 thw26