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))
Exemple #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))
 def __init__(self):
     VT100.__init__(self)
     self.window = None
     self.last_x = -1
     self.last_y = -1
 def send(self, str):
     VT100.send(self, str)
Exemple #5
0
 def __init__(self):
     VT100.__init__(self)
     self.window = None
     self.last_x = -1
     self.last_y = -1
Exemple #6
0
 def send(self, str):
     VT100.send(self, str)