• src/conio/ansi_cio.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 20:36:21
    https://gitlab.synchro.net/main/sbbs/-/commit/f0348c267a4628a0b5e77ec6
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Fix ANSI_KEY_PGDN definition.

    Likely still not right though.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 25, 2024 13:04:00
    https://gitlab.synchro.net/main/sbbs/-/commit/7554868fb14337da207edf0e
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Disable the clear to end-of-line optimization

    Not only was it broken when window() is set, it's also broken when
    the width is not the full screen width.

    We've now disabled pretty much all the optimizations... but it works.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 25, 2024 13:17:41
    https://gitlab.synchro.net/main/sbbs/-/commit/e07cf256e780e38339003c75
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Don't use ANSI.SYS extensions

    CSI s and CSI u are ANSI.SYS extensions, and aren't needed here.
    We're clearing the screen and moveing the cursor anyway.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, October 25, 2024 22:34:54
    https://gitlab.synchro.net/main/sbbs/-/commit/3c234b5f0e0c573aa198e5bf
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    ANSI mode isn't just for Windows

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, October 26, 2024 23:39:57
    https://gitlab.synchro.net/main/sbbs/-/commit/693454ca58c7e3a300b116c3
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Fix warnings.

    Thanks nelgin.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Friday, January 03, 2025 10:22:13
    https://gitlab.synchro.net/main/sbbs/-/commit/caa48db038e3a581d396851c
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Add missing continue

    We don't want ch == -2 derping through the rest of the loop.
    Luckily, ch is never currently == -2 as far as I know.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 15:03:09
    https://gitlab.synchro.net/main/sbbs/-/commit/b077540e801722728d8f9af4
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Fix ANSI mode window size detection.

    Previously, it wrote to the last cell on the screen, so would
    detect column 1 in terminals that wrapped, now moves back one
    cell before printing the _.

    Also, since that's fixed, grab the number of columns as well.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Saturday, January 04, 2025 16:19:54
    https://gitlab.synchro.net/main/sbbs/-/commit/b6b57d129681abee2d8acc31
    Modified Files:
    src/conio/ansi_cio.c
    Log Message:
    Fix ANSI mode window size detection.

    Previously, it wrote to the last cell on the screen, so would
    detect column 1 in terminals that wrapped, now moves back one
    cell before printing the _.

    Also, since that's fixed, grab the number of columns as well.

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