Skip to content

Several BBS Improvements

Choose a tag to compare

@CannibalVox CannibalVox released this 19 Dec 18:54
· 30 commits to main since this release

In the process of getting 20forbeers working, some improvements were made:

  • The linefeed now supports the delete key
  • The keyboardfeed now sends BS instead of DEL for the backspace key (20forbeers requires this)
  • Bytes now move through the system in much larger batches
  • Reworked charset fallback for some improved performance, and it's more likely to fall back more text when there are issues
  • I had to rebuild the ansi decoding to be based on charm's ansi.DecodeSequence instead of ansi.Parser.Advance. ansi.Parser.Advance will always eat standalone ESC codes instead of passing them along, ansi.DecodeSequence will pass along double ESC's, allowing us to use the 20forbeers "ESC twice to enter" prompt. While I was at this, I split out SequenceData into a different TerminalData type for each sequence type.