Lock and Unlock
This version adds a locking feature, so you can keep your keyboard the same way everytime you launch ditto, without accidentally opening up a list or toggling something you didn't want to.
Improvements
- Add
--lockand--unlockflags to lock or unlock the keyboard bindings respectively.
Note
- I decided to go with implementing this feature via flags instead of key combinations, as key combinations can be a bit unreliable. Your environment's key combinations will take priority over the program (if for example
Alt+ntoggled the keyboard's locked status, my Zellij would actually create a new terminal window sinceAlt+nis the binding for that).