MCPcopy Create free account
hub / github.com/antirez/freakwan / print

Method print

scroller.py:194–199  ·  view source on GitHub ↗
(self,msg)

Source from the content-addressed store, hash-verified

192
193 # Add a new line, without refreshing the display.
194 def print(self,msg):
195 if isinstance(msg,str):
196 msg = self.convert_from_utf8(msg)
197 self.lines.append(msg)
198 self.lines = self.lines[-self.rows:]
199 self.last_update = time.time()
200

Callers

nothing calls this directly

Calls 2

convert_from_utf8Method · 0.95
appendMethod · 0.80

Tested by

no test coverage detected