micro
micro copied to clipboard
termwindow: Show cursor only when his X and Y axis is smaller than the window size
This will prevent showing the cursor over the terminal windows own status bar.
Fixes #3034
Updated again after realizing that the same is reproducible with vsplit
and the term
at the left tab.
It seems that it affects any vsplit even without terms....
I know micro's internal structure bad but let me guess. I think it is because the left pane gets zero size so the right pane think that it is size is size of full window but micro still draws separator... As you can see from two following screenshots the divider is drawn above actual pane
I am not sure I even didn't looked at code of #3069 but it seems so me that it can be related in some way
In non-term
windows it will be solved with @dmaluka's PR (#3069) too. At least I wasn't able to reproduce it any longer.
At least I wasn't able to reproduce it any longer.
I also couldn't but I just decided to perform stress test and see what will happen if I open more vsplits than width of the terminal. As expected I got the behavior of #3071 but it also smashed all the splits to visually one with self cursor highlighting
But it doesn't give anything new