Skip to content

Commit

Permalink
Fill broken spaces with a marker
Browse files Browse the repository at this point in the history
  • Loading branch information
tiliv committed May 16, 2024
1 parent 5554b68 commit 119ee09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DisplayWorld.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export default function DisplayWorld({
const row = buffer[br % buffer.length];
if (row === undefined) {
console.log({ br, bc, size, y, startY, offset });
return '?';
}
const col = row[bc % row.length];
return col || ' ';
Expand Down

0 comments on commit 119ee09

Please sign in to comment.