yatli / fvim

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

Issues with switching tabs. #209

Open ishan9299 opened 2 years ago

ishan9299 commented 2 years ago

I am on Windows 11. To recreate the problem I am facing

  1. Open a file
  2. Create a new tab
  3. Switch the tab by pressing gt
  4. Again switch the tab by pressing gt.

The tab with empty buffer doesn't show up. I am on neovim 0.6

yatli commented 2 years ago

can confirm -- probably because multigrid requires the client to memorize each tab... or there's a new event that fvim does not recognize.

will look into this.

as a quick workaround, press ctrl-l to force a redraw.

thanks!

yatli commented 2 years ago

Revisiting this:

neovim thinks FVim is holding all the states in each tab while FVim is only holding one grid.

To solve this, each tab should have its own grid representation.