Rosettea / Hilbish

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

feat: throw hook on ctrl c #213

Closed TorchedSammy closed 1 year ago

TorchedSammy commented 1 year ago

hilbish should throw a hook when input is cancelled with ctrl c (not when a command is exited with ctrl c, command.exit already does this). this is an idea i came up for me specifically, since i cancel git commit with messages i dont want to bother copying and pasting.