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: add async editor input functions #280

Closed TorchedSammy closed 8 months ago

TorchedSammy commented 8 months ago

hilbish.goro is a very problematic function since the Lua runtime does not work with multiple goroutines. This can cause issues in Greenhouse since it is used to read input.

An async function to read input should be added.

TorchedSammy commented 8 months ago

not needed, and it can also be done with the hilbish.rawInput hook