ulyssa / modalkit

A Rust library for building modal editing applications
Apache License 2.0
49 stars 5 forks source link

Limit recursive macros #136

Closed ulyssa closed 3 months ago

ulyssa commented 3 months ago

While looking at using MacroAction::Run to implement custom keybindings in iamb, I realized that there should be something that prevents getting caught executing a macro without human input forever. For now, I've just made this 100, but I can make it adjustable in the future if it ever comes up.