Update selector.py

This commit is contained in:
CodeName393
2026-02-26 15:25:09 +09:00
committed by GitHub
parent 1611fcc971
commit c5ef13df5d

View File

@@ -11,6 +11,7 @@ IS_WINDOWS = sys.platform == "win32"
if IS_WINDOWS:
import msvcrt
class Selector:
"""
A custom interactive selector class using the Rich library.
@@ -25,7 +26,7 @@ class Selector:
page_size: int = 8,
minimal_count: int = 0,
dependencies: dict[int, list[int]] = None,
collapse_on_start: bool = False
collapse_on_start: bool = False,
):
"""
Initialize the Selector.
@@ -398,6 +399,7 @@ class Selector:
except KeyboardInterrupt:
return []
def select_multiple(
options: list[str],
minimal_count: int = 1,