Improved device selection logic
This commit is contained in:
@@ -615,3 +615,7 @@ def open_directory(path):
|
||||
raise OSError(f"Unsupported operating system: {system}")
|
||||
|
||||
|
||||
def print_x_wide(items: list, width: int):
|
||||
for i in range(0, len(items), width):
|
||||
row = items[i:i+width]
|
||||
print(" | ".join(row))
|
||||
Reference in New Issue
Block a user