Fix trying to get key config for None window
authorJack Miller <jack@codezen.org>
Thu, 30 Oct 2014 22:11:16 +0000 (17:11 -0500)
committerJack Miller <jack@codezen.org>
Thu, 30 Oct 2014 22:11:16 +0000 (17:11 -0500)
commit78480681f99db019f2ac5b87a587574548073e3a
treeaf35ff9f1dac2042335966e6460e7852558fb82a
parenta37328d02f8a7eb4ea04dec7dd167a88444c74e6
Fix trying to get key config for None window

Occasionally an event like a resize will occur while the interface is
still taking and processing keys, so screen.focused can be None. Don't
return that None in the focus list.
canto_curses/screen.py