kevinlawler / kona

Open-source implementation of the K programming language
ISC License
1.36k stars 139 forks source link

Domain error when invoking help menus #528

Closed hoosierEE closed 6 years ago

hoosierEE commented 6 years ago

Each of these produce a domain error:

The other items in the help menu do not produce a domain error:

Seems to be a problem only with the non-alphabetical menus.

hoosierEE commented 6 years ago

Is there a way to set \e 0 from the command-line when starting the kona console? That would be fine as a workaround for me.

bakul commented 6 years ago

This error seems to be introduced in the c047ce9b636 commit.

git diff 862092169 c047ce9b6

reveals this is a small change. This fix was made to produce a domain error for \3 but broke other things. Tom will have to come up with a proper fix for \3 to produce a domain error but until then perhaps you can revert this one change in your own copy?

hoosierEE commented 6 years ago

Works for me, thanks!