Thanks Grauw, just confirmed it.
Also, EOF character is shown as a narrow space, it might be easy to miss so you have to be careful.
I probably deleted it by accident.
I also have a little modified the cursor handling,
Speaking of which, have you made a small change so that if the cursor is at the top-most item of the list and you press up, you end up at the last item of the list? That would be handy for long menus.
EDIT: you read my mind
If you enable the “editor.renderControlCharacters” setting in VSCode then the EOF character will show up as SUB in tiny print, which is the MSX EOF character (1AH).
Also BASIC files in ASCII format do not need this EOF character to be able to load them, so you can remove it, however if the character is left somewhere in the middle of the text file then yeah probably things will go wrong.
You can also enable that option from the View menu (at least on macOS).
Thanks again!
I added batch file samples for MSX-DOS2 with some explanations.
Does somebody know how to add MgLunch with Multiboot Menu?
MgLunch is a fast ROM executer by ToughkidDev:
https://github.com/ToughkidDev/mgLunch4MFRSSD
Thanks for your help!