Re: [dev] [st] 0.3 release

From: Szabolcs Nagy <>
Date: Mon, 5 Nov 2012 12:02:08 +0100

* Brandon Invergo <> [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
Received on Mon Nov 05 2012 - 12:02:08 CET

This archive was generated by hypermail 2.3.0 : Mon Nov 05 2012 - 12:12:04 CET