mabe02 / lanterna

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

Super slow on AIX (draws 1 line per second) #607

Closed bmarwell closed 1 week ago

bmarwell commented 1 week ago

Hi,

on AIX (ssh'd into AIX using iTerm 2), the drawing is super slow. 1 Line at a time is being drawn.

Here is an example from a mockup which prints processes (unfinished, only shows pid and user so far).

That was about 8 seconds after starting the process. This does not happen on Linux or Mac OS X. It is a little slow on AIX, too, but not that slow. Using text Graphics. Haven't tried "normal" text yet.

Screenshot 2024-06-24 at 09 49 37

bmarwell commented 1 week ago

The reason is getting the terminal size. Calling it repeatedly will be extremely slow.