MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / skip_down

Method skip_down

pye.py:465–471  ·  view source on GitHub ↗
(self, l)

Source from the content-addressed store, hash-verified

463 if self.cur_line == self.top_line + Editor.height:
464 self.scroll_down(1)
465 def skip_down(self, l):
466 if self.col >= len(l) and self.cur_line < self.total_lines - 1:
467 self.col = 0
468 self.move_down()
469 return True
470 else:
471 return False
472 def move_right(self, l):
473 if not self.skip_down(l):
474 self.col += 1

Callers 2

move_rightMethod · 0.95
handle_edit_keysMethod · 0.95

Calls 1

move_downMethod · 0.95

Tested by

no test coverage detected