shellrhythm / shellrhythm-cli

A rhythm game, in the terminal!
ISC License
60 stars 4 forks source link

Editor: Metadata window doesn't round up and selecting an unknown option causes a crash. #10

Closed TheNachoBIT closed 1 year ago

TheNachoBIT commented 1 year ago

When accessing the Metadata, the list doesn't round up and tries to access unknown options if you continue going down.

imagen

Pressing Enter in this stage causes an index out of range error, resulting a crash:

imagen

HastagGuigui commented 1 year ago

you're never gonna believe it it's actually because the options limit is set to index 4 (but it's 0-indexed)

Fixed in next commit