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

    From Rob Swindell@VERT to GitLab note in main/sbbs on Thursday, March 02, 2023 12:13:00
    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 Thursday, March 02, 2023 12:47:00
    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