Show More
@@ -423,7 +423,7 b' class PromptManager(Configurable):' | |||||
423 | self.txtwidth = _lenlastline(res) - invis_chars |
|
423 | self.txtwidth = _lenlastline(res) - invis_chars | |
424 | just = self.justify if (just is None) else just |
|
424 | just = self.justify if (just is None) else just | |
425 | # If the prompt spans more than one line, don't try to justify it: |
|
425 | # If the prompt spans more than one line, don't try to justify it: | |
426 | if just and ('\n' not in res) and ('\r' not in res): |
|
426 | if just and name != 'in' and ('\n' not in res) and ('\r' not in res): | |
427 | res = res.rjust(self.width + invis_chars) |
|
427 | res = res.rjust(self.width + invis_chars) | |
428 | self.width = _lenlastline(res) - invis_chars |
|
428 | self.width = _lenlastline(res) - invis_chars | |
429 | return res |
|
429 | return res |
General Comments 0
You need to be logged in to leave comments.
Login now