MCPcopy
hub / github.com/pyload/pyload / refresh

Method refresh

pyLoadCli.py:130–143  ·  view source on GitHub ↗

refresh screen

(self)

Source from the content-addressed store, hash-verified

128
129
130 def refresh(self):
131 """refresh screen"""
132
133 println(1, blue("py") + yellow("Load") + white(_(" Command Line Interface")))
134 println(2, "")
135
136 self.lock.acquire()
137
138 self.menuline = self.headerHandler.renderHeader(3) + 1
139 println(self.menuline - 1, "")
140 self.inputline = self.bodyHandler.renderBody(self.menuline)
141 self.renderFooter(self.inputline)
142
143 self.lock.release()
144
145
146 def setInput(self, string=""):

Callers 7

runMethod · 0.80
bFunction · 0.80
bootstrap.min.jsFile · 0.80
bFunction · 0.80
bootstrap.min.jsFile · 0.80

Calls 10

renderFooterMethod · 0.95
printlnFunction · 0.85
blueFunction · 0.85
yellowFunction · 0.85
whiteFunction · 0.85
acquireMethod · 0.80
renderHeaderMethod · 0.80
_Function · 0.50
renderBodyMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected