• src/conio/bitmap_con.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Dec 5 19:57:27 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fddff9351373e4f10eea98c9
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Some optimizations...

    If we're redrawing every cell on the screen, don't bother looping
    through all the cells on the screen, just update them all in one
    big swoop.

    This gets some pointless comparisons out of the inner loop as well
    as completely avoiding the loops when possible.

    Now the bulk of the CPU time SyncTERM uses at a static screen is
    spent either constantly polling for keyboard input (since conio has
    no event thing yet), or scaling the same screen over and over (since
    there's no separation between expose/paint events and changes).
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Fri Dec 5 21:21:09 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/e9369e512f6e9404cdd0c964
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Track if there's any blinking characters on the screen.

    If not, we don't need to redraw the screen when the blink state
    changes.
    --- SBBSecho 3.32-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)