You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduce flicker when entering non-native full screen
In macvim-dev#1547, flicker during font size change and showing tab/scrollbar were
reduced. Here, we do something similar for the flicker that happens when
entering non-native full screen, where the temporarily moved text view
shows a brief temporary draw before the updated Vim redraws over it,
leading to a flicker. Use the same mechanism here to block rendering and
offset the text view draw to preserve visual stability as much as
possible. No need for native full screen as the smooth but slow
transition means there isn't a sharp flicker anyway.
Also, reduce the "fill right" behavior of Core Text renderer. It's
designed to make smooth resizing more seamless but it fills all the way
to the right which makes situations like this or maximizing the window
jarrying as Vim looks stretched horizontally but not vertically. Just
put a sane cap of 4 cell sizes. This way if Vim is a little slow smooth
resize still looks good, but it won't stretch across the whole screen.
0 commit comments