mabe02 / lanterna

Java library for creating text-based GUIs
GNU Lesser General Public License v3.0
2.24k stars 243 forks source link

MultiWindowTextGUI, windows list ordering is coupled to moveToTop() #497

Closed ginkoblongata closed 3 years ago

ginkoblongata commented 4 years ago

The windows list being coupled to the moveToTop() method has the effect of making the WindowManager layout tricker since it will not be getting the windows in the same order each time.

It seems that a z-ordering mechanism could be added to afford WindowManagers an easier time of things.

Comments?

mabe02 commented 4 years ago

I'm not sure I follow, the z-ordering of the windows is the same as the order of the windows in the list that is passed to WindowsManager#prepareWindows

ginkoblongata commented 3 years ago

This functionality has been merged into release/3.1.