summaryrefslogtreecommitdiffstats
path: root/Demo/curses/life.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/curses/life.py')
-rwxr-xr-xDemo/curses/life.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/curses/life.py b/Demo/curses/life.py
index ec79f9e..ddff8fa 100755
--- a/Demo/curses/life.py
+++ b/Demo/curses/life.py
@@ -158,7 +158,7 @@ def keyloop(stdscr):
board.display(update_board=False)
# xpos, ypos are the cursor's position
- xpos, ypos = board.X/2, board.Y/2
+ xpos, ypos = board.X//2, board.Y//2
# Main loop:
while (1):