Ejemplo n.º 1
0
 def move_to(self, x, y):
     VT100.move_to(self, x, y)
     if not self.window:
         return
     if self.y != self.last_y:
         self.window.change(
             (0, self.last_y * self.lineheight), (self.width * self.charwidth, (self.last_y + 1) * self.lineheight)
         )
     self.last_x = self.x
     self.last_y = y
     self.window.change((0, self.y * self.lineheight), (self.width * self.charwidth, (self.y + 1) * self.lineheight))
Ejemplo n.º 2
0
 def move_to(self, x, y):
     VT100.move_to(self, x, y)
     if not self.window: return
     if self.y != self.last_y:
         self.window.change((0, self.last_y * self.lineheight),
                            (self.width * self.charwidth,
                             (self.last_y + 1) * self.lineheight))
     self.last_x = self.x
     self.last_y = y
     self.window.change(
         (0, self.y * self.lineheight),
         (self.width * self.charwidth, (self.y + 1) * self.lineheight))
Ejemplo n.º 3
0
 def __init__(self):
     VT100.__init__(self)
     self.window = None
     self.last_x = -1
     self.last_y = -1
Ejemplo n.º 4
0
 def send(self, str):
     VT100.send(self, str)
Ejemplo n.º 5
0
 def __init__(self):
     VT100.__init__(self)
     self.window = None
     self.last_x = -1
     self.last_y = -1
Ejemplo n.º 6
0
 def send(self, str):
     VT100.send(self, str)