danboid / ALEZ

Arch Linux Easy ZFS installer
GNU General Public License v3.0
145 stars 25 forks source link

Switch to ncurses interface #10

Closed johnramsden closed 6 years ago

johnramsden commented 6 years ago

Switch from read to dialog for user input. This provides an easy to use user interface, and also allows an install to be done with no typing needed, the user can just select options and continue through the install. It speeds up install time significantly.

To facilitate this all input has been moved out of functions and into the main code. Questions are asked of the user in the main section and passed into the functions as variables when needed.

When output is produced by the functions it is piped into dialog to provide output.

I also switch to only displaying by-partuuid discs when a vd* disc is present, since it's the only time I know of that by-id will fail.


Tested

danboid commented 6 years ago

Thanks John!