Closed svartkanin closed 1 month ago
Your contributions are commendable, I respect that. My feedback is don't continue to entangle unrelated changes into your pull requests. Out of the 8 files listed as changed only 3 have to do with the pull request.
@Torxed I think this is ready now. It's not integrated in any existing flows as that will be part of the next PR to keep things less overwhelming
I also commend you on this effort. Great work! Left two small comments that could be tweaked in a follow up PR when we start using the new TUI.
Custom menu with curses - collecting feedback
Addresses https://github.com/archlinux/archinstall/issues/2364
This is a draft PR to showcase and to ask for feedback and input :)
Currently archinstall is using
simple-term-menu
for rendering the interactive menu. Although the library does its job, it is also somewhat limited in terms of customization. Information can only be shown from a top to bottom approach and there is no way of utilizing other spaces on the screen to be more flexible.This WIP PR is a step into moving away from the dependency and implementing a "similar" interactive menu. The initial step is to replicate functionality and then to extend and customize it further.
I managed to get the basics up and running to show what the possibilities are:
This example code triggers the new menu