class_docstr: This class implements an ANSI (VT100) terminal.
  It is a stream filter that recognizes ANSI terminal
  escape sequences and maintains the state of a screen object. 
class_docstr_tok: ["This","class","implements","an","ANSI","(","VT100",")","terminal",".","It","is","a","stream","filter","that","recognizes","ANSI","terminal","escape","sequences","and","maintains","the","state","of","a","screen","object","."]
docstr: Process text, writing it to the virtual screen while handling
  ANSI escape codes.
docstr_tok: ["Process","text",",","writing","it","to","the","virtual","screen","while","handling","ANSI","escape","codes","."]
code: def write(self, s):
      """Process text, writing it to the virtual screen while handling
      ANSI escape codes.
      """
      if isinstance(s, bytes):
          s = self._decode(s)
      for c in s:
          self.process(c)
  
imports: from .None import screen
  from .None import FSM
  import string
label_desc: Use image node_id 4 for calling the ANSI obj's underlying member method code with example usage: obj.write(s) without return types