• Patch: Elm ME+ 2.5 PLalpha54 -> Elm ME+ 2.5 PLalpha60 [12/13] (4/6)

    From Kari Hurtta@21:1/5 to All on Thu Nov 24 20:32:48 2022
    [continued from previous message]

    3 /* Assume 3 bits per character ... */);
    }
    #endif
    -

    -
    DPRINT(Debug,50,(&Debug,
    "cur_ReadCh2: Looking char %d (read_p=%d)\n",ch,read_p));

    --- 674,680 ----
    ***************
    *** 693,698 ****
    --- 769,781 ----
    match++;

    DPRINT(Debug,4,(&Debug,
    + "cur_ReadCh2: consumed %d",ch));
    + if (isascii(ch) && isprint(ch)) {
    + DPRINT(Debug,4,(&Debug," '%c'",ch));
    + }
    + DPRINT(Debug,4,(&Debug,"\n"));
    +
    + DPRINT(Debug,4,(&Debug,
    "cur_ReadCh2: Found function key = %d\n",
    temp2));

    ***************
    *** 711,721 ****
    } else if (0 == temp2) {
    match++;
    DPRINT(Debug,4,(&Debug,
    ! "cur_ReadCh2: need more chars\n"));
    }
    !
    !
    !
    if (read_p < sizeof input_buffer -1) {
    input_buffer[read_p] = ch;
    input_buffer[read_p+1] = '\0';
    --- 794,806 ----
    } else if (0 == temp2) {
    match++;
    DPRINT(Debug,4,(&Debug,
    ! "cur_ReadCh2: need more chars, consumed %d",ch));
    ! if (isascii(ch) && isprint(ch)) {
    ! DPRINT(Debug,4,(&Debug," '%c'",ch));
    ! }
    ! DPRINT(Debug,4,(&Debug,"\n"));
    }
    !
    if (read_p < sizeof input_buffer -1) {