• src/conio/win32cio.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Thu Nov 27 10:41:49 2025
    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
  • From Deuc¿@VERT to Git commit to main/sbbs/master on Tue Jun 30 09:27:38 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/239cb6d603b02c968eefe635
    Modified Files:
    src/conio/win32cio.c
    Log Message:
    Map Win32 physical keys from set-1 scancodes

    Use the Win32 scan code plus enhanced-key state as a set-1-style physical key source instead of deriving physical identity from translated virtual-key codes. This keeps national-layout text keys position-oriented while preserving special-case handling for Pause, lock keys, modifiers, Print Screen, and higher function keys.

    Also keep VK_OEM_3 sorted in the Win32 key table so bsearch() remains valid.

    Co-Authored-By: OpenAI Codex <codex@openai.com>

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