[+] Import readline for interactive config menu

This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-08-13 15:29:47 -04:00
parent 0837ac87cf
commit edf62e98e3
2 changed files with 7 additions and 1 deletions

View file

@ -57,11 +57,13 @@ Updates to `neowofetch` begins with the emoji 🖼️
### TODO
* [ ] Paginate flags
* [ ] Allow left-right arrow keys ffor pagination
* [ ] Implement light/dark background detection based on https://github.com/muesli/termenv
### Unpublished 1.4.1
* 🌈 Paginate flags (#14)
<details>
<summary>🖼️ Bug Fixes</summary>

View file

@ -1,6 +1,10 @@
#!/usr/bin/env python3
from __future__ import annotations
# Do not delete import readline. Even though it's not used in the code, importing it would allow
# arrow keys to be used in input() functions.
import readline
import argparse
import json
import random