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

Method move_up

pye.py:444–448  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

442 pos += way
443 return pos
444 def move_up(self):
445 if self.cur_line > 0:
446 self.cur_line -= 1
447 if self.cur_line < self.top_line:
448 self.scroll_up(1)
449 def skip_up(self):
450 if self.col == 0 and self.cur_line > 0:
451 self.col = len(self.content[self.cur_line - 1])

Callers 2

skip_upMethod · 0.95
handle_edit_keysMethod · 0.95

Calls 1

scroll_upMethod · 0.95

Tested by

no test coverage detected