MCPcopy Index your code
hub / github.com/pyload/pyload / renderFooter

Method renderFooter

pyLoadCli.py:214–229  ·  view source on GitHub ↗

prints out the input line with input

(self, line)

Source from the content-addressed store, hash-verified

212 return line + 8
213
214 def renderFooter(self, line):
215 """ prints out the input line with input """
216 println(line, "")
217 line += 1
218
219 println(line, white(" Input: ") + decode(self.input))
220
221 #clear old output
222 if line < self.lastLowestLine:
223 for i in range(line + 1, self.lastLowestLine + 1):
224 println(i, "")
225
226 self.lastLowestLine = line
227
228 #set cursor to position
229 print "\033[" + str(self.inputline) + ";0H"
230
231 def onChar(self, char):
232 """ default no special handling for single chars """

Callers 2

startMethod · 0.95
refreshMethod · 0.95

Calls 3

decodeFunction · 0.90
printlnFunction · 0.85
whiteFunction · 0.85

Tested by

no test coverage detected