mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-09 13:33:06 -04:00
Update editor to emit the new style of character bitmap
This commit is contained in:
parent
e303c792d3
commit
e129bcd034
4
editor
4
editor
@ -193,8 +193,8 @@ class EditorGui:
|
||||
|
||||
def key(self, event):
|
||||
if event.char in (' '):
|
||||
bm = ",".join(map(lambda n: "%03o" % n, self.bitmap))
|
||||
print(" {{%s}, 0x }," % bm)
|
||||
bm = "".join(map(lambda n: "\\%02o" % n, self.bitmap))
|
||||
print(' {"%s", U() },' % bm)
|
||||
elif event.char in ('c','C'):
|
||||
for y in range(YSIZE):
|
||||
for x in range(XSIZE):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user