Skip to content

permKey buggy #1068

@vadi2

Description

@vadi2

permKey("my key", "", nil, mudlet.key.F8, [[echo("hey this thing actually works!\n")]]) does not create an F8 keybinding as expected - gives an error:

<permKey: bad argument type (key modifier as string expected, got string!)>

Pretty brilliant error ;)

Neither does this:

permKey("my key", "", mudlet.keymodifier.Control, mudlet.key.F8, [[echo("hey this thing actually works!\n")]])

It creates a keybinding with undefined as the keybinding.

I suspect the i++ counting in that function is off somewhere.

@SecareLupus or @SlySven, are you able to have a look? I'm worn out at this point from all the release hassle to be fixing it. We can't release a broken feature though so it's a blocker.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions