mirror of
https://github.com/jtauber/applepy.git
synced 2024-11-26 16:49:32 +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:
|
else:
|
||||||
attr = curses.A_DIM
|
attr = curses.A_DIM
|
||||||
|
|
||||||
|
try:
|
||||||
self.win.addch(row, column, c, attr)
|
self.win.addch(row, column, c, attr)
|
||||||
|
except curses.error:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class CPU:
|
class CPU:
|
||||||
|
Loading…
Reference in New Issue
Block a user