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

fix: handle multiline input properly #182

Open TorchedSammy opened 2 years ago

TorchedSammy commented 2 years ago

(referring to copy-pasted input with newlines)

currently hilbish's line editor prompts whether to insert the multiline input or not, and if it does returns it line by line. if multiline input is entered when the user switches to using $EDITOR for shell input, it will also not be handled properly

a fix to this would be to handle multiline input editing properly and remove the prompt on pasting it