oils-for-unix / oils

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.85k stars 159 forks source link

allow backspace from multiline expressions #1995

Open dezren39 opened 5 months ago

dezren39 commented 5 months ago

ysh

ysh ysh-0.22.0$ (
> 

single opening matching pair OR '\' (escape sequence) then hit backspace nothing happens expected line go away

pwsh

PS /home/user> (
>>

single opening matched pair OR '`' (escape sequence) then hit backspace line goes away and i'm back on the first line

andychu commented 5 months ago

I'm pretty sure this is a GNU readline thing we don't control ...

If you can make a demo of what you want with GNU readline that could help