[+] Import readline for interactive config menu
This commit is contained in:
@@ -57,11 +57,13 @@ Updates to `neowofetch` begins with the emoji 🖼️
|
|||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
|
|
||||||
* [ ] Paginate flags
|
* [ ] Allow left-right arrow keys ffor pagination
|
||||||
* [ ] Implement light/dark background detection based on https://github.com/muesli/termenv
|
* [ ] Implement light/dark background detection based on https://github.com/muesli/termenv
|
||||||
|
|
||||||
### Unpublished 1.4.1
|
### Unpublished 1.4.1
|
||||||
|
|
||||||
|
* 🌈 Paginate flags (#14)
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>🖼️ Bug Fixes</summary>
|
<summary>🖼️ Bug Fixes</summary>
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
from __future__ import annotations
|
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 argparse
|
||||||
import json
|
import json
|
||||||
import random
|
import random
|
||||||
|
|||||||
Reference in New Issue
Block a user