• src/conio/win32cio.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 18:41:27
    https://gitlab.synchro.net/main/sbbs/-/commit/0f87d4e2881367a2c7fded9c
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Keep a local copy of the screen for windows

    Because it screws up the display when you resize the window.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • 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/0bf419eba0d14238b02d3eca
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Some more Win32 Terminal fixes

    Almost there, the main issue remaining is when running from a
    command-line, it sometimes "unwraps" lines.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, October 24, 2024 22:27:02
    https://gitlab.synchro.net/main/sbbs/-/commit/714e0ec073f0bbd9023d7d48
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Deal with more windows console braindeadedness.

    The window and the screen buffer are two different things... the
    screen buffer must always be the same size as or larger than the
    window. Further, there are times where it's not possible to resize
    the windown programatically (new terminal for example).

    There still appears to be a stupid bug in what I assume is the
    Windows Terminal LCF flag implementation which causes writes to
    the beginning of a line that occur after a write to the end of the
    previous line to be in the wrong position. If it's not the LCF flag
    (which isn't turned on), it's in their wrapping thing which is extra
    irritating since I explocitly turn that off.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tuesday, December 31, 2024 13:48:00
    https://gitlab.synchro.net/main/sbbs/-/commit/1b7bb63aa38b5ae37272a8db
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Explicitly use the "ANSI" console read/write functions.

    Where we use the AsciiChar memory of the returned struct.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Thursday, November 27, 2025 10:41:49
    https://gitlab.synchro.net/main/sbbs/-/commit/fce2816e91907b6f8a89524c
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Fix ticket 212

    Allocate extra unneeded space for NUL terminator when copying text.
    Weirdly, text copied in "block mode" worked, but text copied in
    "line mode" didn't.

    Also weird, it only seemed to happen in conhost, not terminal.

    Ah well.

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