Home | History | Annotate | Download | only in lit

Lines Matching refs:term

18         >>> term = TerminalController()
19 >>> print('This is '+term.GREEN+'green'+term.NORMAL)
24 >>> term = TerminalController()
25 >>> print(term.render('This is ${GREEN}green${NORMAL}'))
35 >>> term = TerminalController()
36 >>> if term.CLEAR_SCREEN:
212 def __init__(self, term, header, useETA=True):
213 self.term = term
214 if not (self.term.CLEAR_EOL and self.term.UP and self.term.BOL):
217 self.BOL = self.term.BOL # BoL from col#79
219 if self.term.COLS:
220 self.width = self.term.COLS
221 if not self.term.XN:
222 self.BOL = self.term.UP + self.term.BOL
226 self.bar = term.render(self.BAR)
227 self.header = self.term.render(self.HEADER % header.center(self.width))
256 self.BOL + self.term.UP + self.term.CLEAR_EOL +
259 self.term.CLEAR_EOL + message)
260 if not self.term.XN:
265 sys.stdout.write(self.BOL + self.term.CLEAR_EOL +
266 self.term.UP + self.term.CLEAR_EOL +
267 self.term.UP + self.term.CLEAR_EOL)