Browse Source

Curses

pull/23/head
Jure Šorn 5 years ago
parent
commit
f10f28af8f
1 changed files with 2 additions and 2 deletions
  1. 4
      README.md

4
README.md

@ -1681,9 +1681,9 @@ def draw(screen):
def get_border(screen):
from collections import namedtuple
P = namedtuple('P', 'x y')
P = namedtuple('P', 'y x')
height, width = screen.getmaxyx()
return P(width-1, height-1)
return P(height-1, width-1)
if __name__ == '__main__':
main()

Loading…
Cancel
Save