MCPcopy Create free account
hub / github.com/ipython/ipython / continuation_prompt_tokens

Method continuation_prompt_tokens

IPython/terminal/prompts.py:40–45  ·  view source on GitHub ↗
(self, width=None)

Source from the content-addressed store, hash-verified

38 return fragment_list_width(self.in_prompt_tokens())
39
40 def continuation_prompt_tokens(self, width=None):
41 if width is None:
42 width = self._width()
43 return [
44 (Token.Prompt, (' ' * (width - 5)) + '...: '),
45 ]
46
47 def rewrite_prompt_tokens(self):
48 width = self._width()

Callers 2

promptMethod · 0.45
_extra_prompt_optionsMethod · 0.45

Calls 1

_widthMethod · 0.95

Tested by

no test coverage detected