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

    From Rob Swindell to GitLab note in main/sbbs on Thursday, March 02, 2023 12:13:04
    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.
  • From Eric Oulashin to GitLab note in main/sbbs on Thursday, March 02, 2023 12:47:24