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

cosmetic, whitespace, etc.

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

fix PRINT/DRAW _TIMEOUT and fix redrawing bug.

commit ae0966484cda6647f5ef316aed0e458eff665964 [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 ae0966484cda6647f5ef316aed0e458eff665964 [browse]
Author: Aurélien Aptel
Date: 2012-01-10 22:21:03 +01:00

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

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

merge.

clone the repository to get more history