hazelgrove / tylr

a tiny tile-based editor
https://tylr.fun
MIT License
284 stars 2 forks source link

creating a second typedef crashes editor #67

Closed disconcision closed 1 day ago

disconcision commented 1 day ago

first typedef worked fine but entering "D" here triggers crash:

Screenshot 2024-11-06 at 10 48 08 PM

If I enter a lowercase "d" it skips out:

Screenshot 2024-11-06 at 10 48 14 PM

which is sorta understandable tho don't know if it's intentional. it happens even if the "in" isn't a ghost though which is weirder:

Screenshot 2024-11-06 at 10 48 21 PM

I feel like in both cases it should go in the hole but be red instead?