fix: Improve dialog directory selection with proper height, width, and type conversion
This commit is contained in:
parent
f0a002eff1
commit
8b4f00913b
@ -21,7 +21,7 @@ def select_directory_with_dialog(title="Select Directory"):
|
||||
"""Use dialog command to select directory in terminal environment"""
|
||||
try:
|
||||
result = subprocess.run(
|
||||
['dialog', '--title', title, '--dselect', os.getcwd(), 0, 0],
|
||||
['dialog', '--title', title, '--dselect', str(os.getcwd()), '20', '50'],
|
||||
env={'DIALOGRC': '/etc/dialogrc'},
|
||||
capture_output=True,
|
||||
text=True
|
||||
|
||||
Loading…
Reference in New Issue
Block a user