MrPicklePinosaur / shrs

The rusty shell toolkit for hackers
https://mrpicklepinosaur.github.io/shrs/
Apache License 2.0
304 stars 24 forks source link

[Feature]: Dynamically insert keybindings #418

Closed MrPicklePinosaur closed 3 months ago

MrPicklePinosaur commented 5 months ago

What would you like to see added?

It is currently not possible to insert individual keybindings after the initial DefaultKeybinding struct has been created. Add runtime support to insert a single keybinding or multiple using iterator. This also entails making keybinding behind a refcell.