Skip to content

Commit f10f28a

Browse files
committed
Curses
1 parent 44a7cb8 commit f10f28a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,9 +1681,9 @@ def draw(screen):
16811681

16821682
def get_border(screen):
16831683
from collections import namedtuple
1684-
P = namedtuple('P', 'x y')
1684+
P = namedtuple('P', 'y x')
16851685
height, width = screen.getmaxyx()
1686-
return P(width-1, height-1)
1686+
return P(height-1, width-1)
16871687

16881688
if __name__ == '__main__':
16891689
main()

0 commit comments

Comments
 (0)