• DDMsgReader: When forwarding a message, the subject can now be edited

    From Rob Swindell@VERT to GitLab note in main/sbbs on Thu Mar 2 12:13:04 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/262#note_3319

    The proper way to edit a string is to pass the K_EDIT mode flag to console.getstr(), e.g.
    `var msgSubject = console.getstr(console.screen_columns - console.strlen(subjPromptText) - 1, K_LINE | K_EDIT);`

    ... as seen in numerous examples through-out exec/*.js.

    This method of key-stuffing using ungetstr() shouldn't be necessary.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Eric Oulashin@VERT to GitLab note in main/sbbs on Thu Mar 2 12:47:24 2023
    https://gitlab.synchro.net/main/sbbs/-/merge_requests/262#note_3323

    I've updated it to use K_EDIT.

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