commit ae0966484cda6647f5ef316aed0e458eff665964 [browse]
Author: Aurélien Aptel
Date: 2012-01-21 23:43:03 +01:00

cosmetic, whitespace, etc.

commit 156ce776453dc50b6a908c761403f975af25f756 [browse]
Author: Aurélien Aptel
Date: 2012-01-21 23:26:53 +01:00

fix PRINT/DRAW _TIMEOUT and fix redrawing bug.

commit 96c22e1604704504cef6786714191ed5ffb58725 [browse]
Author: Aurélien Aptel
Date: 2012-01-21 23:14:41 +01:00

copy dirty lines to screen, add select() timeout & min time between draw() calls.

* add a timeout value (SELECT_TIMEOUT) of 20ms in the select() call
* wait at least 20ms (DRAW_TIMEOUT) between draw() calls
* only copy dirty lines from the buffer to the screen

what draw() does:
* clears dirty lines in the buffer
* draws the longest same-attributes string of each
  dirty line to the buffer with multiple xdraws() call
* copies the current dirty line from buffer to the screen with a single
  xcopy() call

this changeset makes st run ~10x faster.

commit 281174445ba2b6e1160b2b7b4490eebb0714eb37 [browse]
Author: Aurélien Aptel
Date: 2012-01-10 22:21:03 +01:00

fix segfault in selection. (thx Martti Kühne)

commit 197c46686424cc7bdc06da5c980e38ff654f98fa [browse]
Author: Aurélien Aptel
Date: 2011-11-01 16:37:16 +01:00

merge.

clone the repository to get more history