Show More
@@ -747,7 +747,7 b' class TerminalInteractiveShell(InteractiveShell):' | |||||
747 | def get_message(): |
|
747 | def get_message(): | |
748 | return PygmentsTokens(self.prompts.in_prompt_tokens()) |
|
748 | return PygmentsTokens(self.prompts.in_prompt_tokens()) | |
749 |
|
749 | |||
750 |
if self.editing_mode == |
|
750 | if self.editing_mode == "emacs" and self.prompt_line_number_format == "": | |
751 | # with emacs mode the prompt is (usually) static, so we call only |
|
751 | # with emacs mode the prompt is (usually) static, so we call only | |
752 | # the function once. With VI mode it can toggle between [ins] and |
|
752 | # the function once. With VI mode it can toggle between [ins] and | |
753 | # [nor] so we can't precompute. |
|
753 | # [nor] so we can't precompute. |
General Comments 0
You need to be logged in to leave comments.
Login now