mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
fix length calculation in input_options
This commit is contained in:
parent
337e2556a6
commit
1330d6fb4f
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@ def input_options(options, require=False, prompt=None, fallback_prompt=None,
|
|||
prompt_part_lengths.append(len(tmpl % str(default)))
|
||||
else:
|
||||
prompt_parts.append('# selection')
|
||||
prompt_part_lengths.append(prompt_parts[-1])
|
||||
prompt_part_lengths.append(len(prompt_parts[-1]))
|
||||
prompt_parts += capitalized
|
||||
prompt_part_lengths += [len(s) for s in options]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue