Skip to content

Commit 39007c9

Browse files
committed
Use tiles_rgb in example.
The alternative attribute name isn't available yet.
1 parent f638833 commit 39007c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/framerate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def main() -> None:
116116
desired_fps = 50
117117
while True:
118118
console = context.new_console(order="F")
119-
console.rgb["bg"][line_x % console.width, :] = (255, 0, 0)
119+
console.tiles_rgb["bg"][line_x % console.width, :] = (255, 0, 0)
120120
console.print(
121121
1,
122122
1,

0 commit comments

Comments
 (0)