MCPcopy Create free account
hub / github.com/bpython/bpython / current_cursor_line

Method current_cursor_line

bpython/curtsiesfrontend/repl.py:1497–1506  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1495
1496 @property
1497 def current_cursor_line(self):
1498 if self.config.curtsies_right_arrow_completion:
1499 suggest = func_for_letter(
1500 self.config.color_scheme["right_arrow_suggestion"]
1501 )
1502 return self.current_cursor_line_without_suggestion + suggest(
1503 self.current_suggestion
1504 )
1505 else:
1506 return self.current_cursor_line_without_suggestion
1507
1508 @property
1509 def current_suggestion(self):

Callers

nothing calls this directly

Calls 1

func_for_letterFunction · 0.85

Tested by

no test coverage detected