Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statusline glitch for multiple window #13016

Closed
liujoey opened this issue Sep 30, 2020 · 4 comments
Closed

statusline glitch for multiple window #13016

liujoey opened this issue Sep 30, 2020 · 4 comments
Labels
bug issues reporting wrong behavior

Comments

@liujoey
Copy link

liujoey commented Sep 30, 2020

NVIM v0.5.0-nightly-177-gf520c1ef8
Build type: Release
LuaJIT 2.0.5

  • vim -u DEFAULTS (version: ) behaves differently? Yes, vim 8.x works fine.
  • Operating system/version: MacOS Catalina 10.15.6
  • Terminal name/version: iTerm2
  • $TERM: xterm-256color

Steps to reproduce using nvim -u NORC

I can only reproduce this when using plugin VimSpector. (I do notice this glitch in other scenario but for now I only remembered this way)

  • nvim -u test.vim src/some.cpp
  • Press F5 to start a debug session.
  • look at the statusline of the right pane, it now has two statuslines stacking.
  • move around in this right bottom buffer creates more problem of the statusline.
  • the ghost statusline also blocks my input prompt, if press A in this prompt buffer, the cursor will be covered by the statusline.

The test.vim has nothing but only install the VimSpector plugin.

  call plug#begin('~/.config/nvim/plugged')
    Plug 'puremourning/vimspector' "{{{
      let g:vimspector_enable_mappings = 'HUMAN'
    "}}}
  call plug#end()

Actual behaviour

nvim

Expected behaviour

vim

Where is the glitch

look at the right bottom pane, the "vimspector.console" buffer, in nvim, it has an ghost statusline below the buffer, which does not update at all. While the statusline of buffer "vimspector.console" shows a virtual statusline, when moving around, this statusline has some strange display problems.

In the vim, there will be no ghost statusline, no stacking statusline.

@liujoey liujoey added the bug issues reporting wrong behavior label Sep 30, 2020
@erw7
Copy link
Contributor

erw7 commented Oct 14, 2020

Thanks for the report. But I think this is a duplicate of #12689.

@puremourning
Copy link
Contributor

@liujoey FYI I worked around the neovim rendering bug in vimspector now puremourning/vimspector#301

@liujoey
Copy link
Author

liujoey commented Dec 7, 2020

@puremourning That's fantastic, great work. I'm waiting for this fix from neovim side but it is great to hear from you that you found a work around. Thank you!

@jdknox
Copy link

jdknox commented Jun 8, 2021

Can this be made into a feature to have a multiline statusline?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug issues reporting wrong behavior
Projects
None yet
Development

No branches or pull requests

4 participants