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

Method move_down

pye.py:460–464  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

458 if not self.skip_up():
459 self.col -= 1
460 def move_down(self):
461 if self.cur_line < self.total_lines - 1:
462 self.cur_line += 1
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

Callers 2

skip_downMethod · 0.95
handle_edit_keysMethod · 0.95

Calls 1

scroll_downMethod · 0.95

Tested by

no test coverage detected