yatli / fvim

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

Delete line and undo dont work as expected on Ubuntu #121

Closed tdillenburg closed 4 years ago

tdillenburg commented 4 years ago

Peek_23-02-2020_22-05

After the first dd (delete line) command, the next undo and dd require a movement key to finish executing, except if the command deletes up to an empty line (2dd or 3dd to empty line). I ran fvim without init.vim (fvim -u NONE) to prevent conflicts.

LANG=pt_BR.UTF-8 Ubuntu 19.10 Nvim 0.4.3

yatli commented 4 years ago

Thanks for reporting. Can repro on WSL. Not only dd, I also see the problem with x

LANG=en_US.UTF-8 Ubuntu 16.04.6 (WSL) NVIM v0.5.0-dev Build type: RelWithDebInfo Lua 5.1

yatli commented 4 years ago

Looks like a regression by upgrading dependencies. Could you test older versions?

yatli commented 4 years ago

Again this: InvalidateVisuals() doesn't trigger Render

tdillenburg commented 4 years ago

Version v0.2-132-ge81f09a is working. And Nvim welcome screen is also showing on this version.

yatli commented 4 years ago

Working with upstream devs on this.

yatli commented 4 years ago

Should be fixed with https://github.com/yatli/fvim/pull/129 There was a workaround against the upstream InvalidateVisuals() bug but it failed because of updated layout. This is now fixed.

yatli commented 4 years ago

@TiagoDillenburg a new release v0.2-233 will be pushed up soon.

tdillenburg commented 4 years ago

I'm sorry. My linux setup is broken now and I'm afraid I wont be able to tested any time soon.

yatli commented 4 years ago

No worry, I've got a fresh Linux installation recently :)