mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Small update to normalize whitespace of prompts.
This commit is contained in:
parent
8f1d5bb779
commit
f1ac644013
@ -54,6 +54,7 @@ def expect(prompt, possibilities, recursed=False, doindent=True, default=None):
|
||||
|
||||
If possibilities is empty, allow anything.
|
||||
"""
|
||||
prompt = utils.normalizeWhitespace(prompt)
|
||||
originalPrompt = prompt
|
||||
if doindent:
|
||||
indent = ' ' * ((len(originalPrompt)%68) + 2)
|
||||
|
Loading…
Reference in New Issue
Block a user