DDMsgReader: Inactivity disconnection more consistent with Synchronet behavior. DDLightbarMenu: Use console.getkey() instead of getKeyWithESCChars(), as getKeyWithESCChars() is no longer needed.
DDMsgReader: Inactivity disconnection more consistent with Synchronet behavior. DDLightbarMenu: Use console.getkey() instead of getKeyWithESCChars(), as getKeyWithESCChars() is no longer needed. For DDMsgReader, User timeout 'AreYouThere' message and disconnection are more consistent with Synchronet's behavior. However, if the scrollable reader or lightbar list interface is being used, the 'AreYouThere' text will be set to a blank string for the duration of this script's run due to how the text can interfere with the screen and scrolling. The 'AreYouThere' sound will still occur though, and the user will be disconnected if they don't respond.
Merge request reports
Activity
assigned to @rswindell
- Resolved by Rob Swindell
- Resolved by Rob Swindell
- Resolved by Eric Oulashin
657 667 readerSubCode = gCmdLineArgVals["subboard"]; 658 668 } 659 669 var msgReader = new DigDistMsgReader(readerSubCode, gCmdLineArgVals); 670 // If the user's terminal supports ANSI and we will be using any of the lightbar/scrollable 671 // user interfaces, then blank out the AreYouThere timeout warning string (used by 672 // console.getkey()), which would interfere with full-screen display and scrolling display 673 // functionality. Also, have the script set it back to its previous (possibly sysop-customized) 674 // value on exit. 675 if (console.term_supports(USER_ANSI) && (msgReader.scrollingReaderInterface || msgReader.msgListUseLightbarListInterface)) 676 { 677 var originalAreYouThereStr = bbs.text(bbs.text.AreYouThere); 678 bbs.replace_text(AreYouThere, ""); 679 js.on_exit("bbs.replace_text(AreYouThere, \"" + originalAreYouThereStr + "\")"); 680 //js.on_exit("bbs.revert_text(AreYouThere)"); changed this line in version 3 of the diff
added 1 commit
- 8d7519a0 - DDMsgReader: Removed extraneous KEY_PAGEUP and KEY_PAGEDN definitions and...
added 1 commit
- 742c8c9a - DDMsgReader: use bbs.revert_text() to revert the AreYouThere string on exit
enabled an automatic merge when all merge checks for 742c8c9a pass
mentioned in commit 40715475