• src/conio/bitmap_con.c cterm.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, February 08, 2024 23:07:40
    https://gitlab.synchro.net/main/sbbs/-/commit/3dfa12a6cacf3f1289f8c66c
    Modified Files:
    src/conio/bitmap_con.c cterm.c
    Log Message:
    Fix crash found by vttest.

    If DL was passed a parameter equal to or greater than the number of
    lines from the current line to the last line in the region, it would
    try to move a negative-sized box up, which resulted in a crash.

    This fixes that three ways:
    1) Do not allow moving boxes with negative X/Y sizes
    2) In dellines, clamp the lines to the number that could be deleted
    3) Don't move lines up of all rest of the lines are being deleted

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, November 02, 2024 21:19:18
    https://gitlab.synchro.net/main/sbbs/-/commit/d07815a94f78fa5a3bfc9f02
    Modified Files:
    src/conio/bitmap_con.c cterm.c
    Log Message:
    Implement double-height.

    This is so gross... outputting any character depends on every
    character above it, so it must be checked every time. If the state
    was ste up differently, this could be avoided, but it's not, so it
    can't.

    For v2, I'm going to want to store some per-line data in a separate
    struct so I can track this.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Wednesday, November 27, 2024 09:34:34
    https://gitlab.synchro.net/main/sbbs/-/commit/d5d7762cfb39f366d6870192
    Modified Files:
    src/conio/bitmap_con.c cterm.c
    Log Message:
    Fix double-height drawing

    Top/bottom detection was somewhat broken.
    Interestingly, now the previous commit isn't working anymore.
    So issue 172 is not quite fixed yet.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net