Rosettea / Hilbish

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

fix: isolate hilbish.read readline instances #190

Closed TorchedSammy closed 1 year ago

TorchedSammy commented 2 years ago

hilbish.read reads text with a new readline instance, except it uses the same function in go that hilbish itself does to get its internal readline instance. this results in it sharing things like action hooks, syntax highlighting and hints. though this might not actually be a problem, a better thing would maybe exposing something to lua side to handle that