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
redraw/redrawstatus does not flush window. #174
Comments
Thanks. Could you test #175? |
Perfect. Thanks. I'm looking forward it to be merged ;-) |
🎊 |
Shouldn't this have been solved by using Plain Vim doesn't behave in the way that this commit (and #182) make MacVim behave. |
I don't think so. I tried Vim help said.
So |
But that's how plain Vim works. Also, the flush_force version of this repair makes for a blinking cursor upon |
The docs show that |
No. At least in Vim on Ubuntu, GVim on Ubuntu, or Vim on Mac, the screen does not blink when I call https://gist.github.com/lambdalisue/94d14ff706a5627d64f5
No. I'm not sure if calling |
And actually I noticed that |
That's what I said. |
@chdiza your comment "Plain Vim doesn't behave in the way that this commit (and #182) make MacVim behave. " is useless. Please provide a concrete reproduction scenario like https://gist.github.com/lambdalisue/94d14ff706a5627d64f5. |
At the very least, if I take that gist and :source it and run |
Now I got. Yes it seems an issue on |
It didn't do that prior to the flush tweaks. I don't have time right now to see whether it was introduced in the flush or the force_flush change. |
Expected behaviorOf https://gist.github.com/lambdalisue/94d14ff706a5627d64f5 Indicator is increasing 1 by 1 (E.g. Test: 1 -> Test: 2 -> ...) without blinking screen when Actual behaviorJust before the redraw fixrevision: ddc5c14 Both After the 1st redraw fixrevision: 2d3163f Indicator is increasing 2 by 2 (Test: 1 -> Test: 3 -> ...) without blinking screen when After the 2nd redraw fixrevision: 05e488d Indicator is increasing 1 by 1 (Test: 1 -> Test: 2 -> ...) without blinking screen when My conclusionBoth
Let us know the revision. For me, this issue exists from when I started to use MacVim (several years ago). You may know the revision which works fine for How did I change the revision (in case)I add head "https://github.com/macvim-dev/macvim.git", :revision => "ddc5c14" |
Why is a blinking screen expected in this case? It doesn't blink in plain Vim when I call Test2. |
because it clear the screen. try with fullscreen mode and/or a slow machine. prob your GPU is too fast to recognise i guess. |
redraw
orredrawstatus
does not flush window in MacVim so users cannot recognize the current status by indicators like "Downloading [2/5]..." or whatever. Try https://gist.github.com/lambdalisue/94d14ff706a5627d64f5So I add
gui_macvim_flush()
afterex_redraw
andex_redrawstatus
in this commit.It seems that the issue no longer exists with that commit but I am not familiar with Vim/MacVim source code so could anyone check the side-effect and fix this problem?
Thanks :-)
The text was updated successfully, but these errors were encountered: