Rosettea / Hilbish

🌓 The Moon-powered shell! A comfy and extensible shell for Lua fans! 🌺 ✨
https://rosettea.github.io/Hilbish/
MIT License
499 stars 23 forks source link

feat: hilbish.actions interface #243

Open TorchedSammy opened 1 year ago

TorchedSammy commented 1 year ago

the purpose of this will be to store some sort of global stack to have a unified interface for undoing (and redoing..?) shell actions. a couple ideas in mind for undoing things:

this will be stored in the form of a stack (or would it be a delayed fifo?)

there are 2 ways it can operate:

the expected functions for this interface:

an action is a simple object that has the following properties/functions