Skip to content

Commit

Permalink
Merge 0dc4df6 into cbfb444
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbarylka committed Mar 18, 2018
2 parents cbfb444 + 0dc4df6 commit 2d815b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tdl/__init__.py
Expand Up @@ -996,7 +996,8 @@ def draw_frame(self, x, y, width, height, string, fg=Ellipsis, bg=Ellipsis):
def get_char(self, x, y):
# inherit docstring
x, y = self._normalizePoint(x, y)
return self.console.get_char(self._translate(x, y))
xtrans, ytrans = self._translate(x, y)
return self.console.get_char(xtrans, ytrans)

def __repr__(self):
return "<Window(X=%i Y=%i Width=%i Height=%i)>" % (self.x, self.y,
Expand Down

0 comments on commit 2d815b0

Please sign in to comment.