mirror of
https://github.com/jtauber/applepy.git
synced 2024-11-22 19:30:54 +00:00
if curses can't write a character to the screen, just skip it; fixes #1
This commit is contained in:
parent
44099ae4f2
commit
ce179a470f
@ -63,7 +63,10 @@ class Memory:
|
||||
else:
|
||||
attr = curses.A_DIM
|
||||
|
||||
self.win.addch(row, column, c, attr)
|
||||
try:
|
||||
self.win.addch(row, column, c, attr)
|
||||
except curses.error:
|
||||
pass
|
||||
|
||||
|
||||
class CPU:
|
||||
|
Loading…
Reference in New Issue
Block a user