nsf / termbox

Library for writing text-based user interfaces
http://code.google.com/p/termbox
MIT License
1.97k stars 187 forks source link

test script has wrong tuple #60

Closed blueforesticarus closed 9 years ago

blueforesticarus commented 9 years ago

line 108 of test_termboxmodule.py reads

(type, ch, key, mod, w, h) = event_here

however is should be

(typee, char, key, mod, width, height, mousex, mousey) = event_here

because event_here is returned by t.poll_event() which in the most recent sources returns an length 8 tuple (the extra two being the mouse coordinates)