yatli / fvim

Cross platform Neovim front-end UI, built with F# + Avalonia
MIT License
1.34k stars 30 forks source link

Issues with quoting in line-wrapped terminals? #149

Closed MyriaCore closed 4 years ago

MyriaCore commented 4 years ago

Not really sure who to submit this bug to (between fvim, nvim, or powershell). I'm having a weird issue with quoting and line-wrapping in terminal mode. This screenshot shows an attempt to quote in a wrapped line:

image

And this screenshot shows that it does actually work when the line isn't being wrapped:

image

yatli commented 4 years ago

I had been bugged by this. Update PSReadLine to >= 2.0 will fix this. :)

PSReadLine v1.0 was done in a conhost fashion that interacts with the Console.Buffer object, and when the window is resized (smaller) the buffer size is not synced.

MyriaCore commented 4 years ago

Ah, I gotcha. Thanks, I'm not really a windows user so I didn't rly know what was going on there.