Rosettea / Hilbish

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

feat: return values returned from bait hooks #297

Open TorchedSammy opened 3 months ago

TorchedSammy commented 3 months ago

the title might be a confusing.

the throw function of bait should return all values that are returned from a hook. this means that if there is a hook on real.event-here and it decided to return a value like real! then the caller of throw will get that value back.