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

Method renderBody

pyLoadCli.py:201–212  ·  view source on GitHub ↗

prints initial menu

(self, line)

Source from the content-addressed store, hash-verified

199 return line + 1
200
201 def renderBody(self, line):
202 """ prints initial menu """
203 println(line, white(_("Menu:")))
204 println(line + 1, "")
205 println(line + 2, mag("1.") + _(" Add Links"))
206 println(line + 3, mag("2.") + _(" Manage Queue"))
207 println(line + 4, mag("3.") + _(" Manage Collector"))
208 println(line + 5, mag("4.") + _(" (Un)Pause Server"))
209 println(line + 6, mag("5.") + _(" Kill Server"))
210 println(line + 7, mag("6.") + _(" Quit"))
211
212 return line + 8
213
214 def renderFooter(self, line):
215 """ prints out the input line with input """

Callers 2

startMethod · 0.45
refreshMethod · 0.45

Calls 4

printlnFunction · 0.85
whiteFunction · 0.85
magFunction · 0.85
_Function · 0.50

Tested by

no test coverage detected