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

Bug: Skip refresh for command mode when cmdheight=0 #1371

Open
2 tasks done
smartinellimarco opened this issue Jan 21, 2025 · 0 comments
Open
2 tasks done

Bug: Skip refresh for command mode when cmdheight=0 #1371

smartinellimarco opened this issue Jan 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@smartinellimarco
Copy link

smartinellimarco commented Jan 21, 2025

Self Checks

  • I'm using the latest lualine.
  • I didn't find the issue in existing issues or PRs.

How to reproduce the problem

When a command is executed with the cmdheight=0 option, the lualine statusline briefly displays the COMMAND mode before switching back to NORMAL mode. While this may be subtle, it can create a weird 'flicker'.

Since the statusline is not visible when cmdheight=0, I suggest skipping the CommandEnter event refresh for the statusline.

@smartinellimarco smartinellimarco added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant