* Brandon Invergo <[email protected]> [2012-11-05 11:45:09 +0100]: > The problem is that in its drawing functions, st does *at least* one xlib call > per terminal line. When you factor in any change in text properties > (color, italics, etc), then you get even more xlib calls per line. When > you're scrolling, and thus redrawing the entire terminal repeatedly, > that adds up to a hell of a lot of library calls. >
it seems to me that scrolling could be implemented using a blit operation (essentially memmove) and only the last (or first) lines need to be drawn (the cursor may need to be fixed before the blit) i guess scrolling is worth special casing
