ChrisTitusTech / ArchTitus

Automated Arch Linux Install
MIT License
1.86k stars 875 forks source link

Fixed behavior of select_option function #364

Closed somelinuxnerd closed 11 months ago

somelinuxnerd commented 11 months ago
  1. Fixed arrow behavior a. In single column selections, the highlighted option would go below the last option on down arrow. b. In 4 column selections, the highlighted option would go to the right of the last option on right arrow. c. When only one option exists, the highlighted option would go to the right of the last option on right arrow.

  2. Removed the unused return code argument being passed to all instances of select_option.

  3. Removed various unused variables: return_value, lastcol, startcol, lines, size.

  4. Removed unnecessary shift 4

  5. Removed unnecessary dollar signs from variable names in math operations.

  6. Replaced unused opt variable in for loop with the appropriate _

  7. Replaced deprecated instance of `` with $() for command substitutions.