Example #1
0
 /// <summary>
 /// - Processes a character event into an Action that occurs while in the DcsPassThrough state.
 ///   Events in this state will:
 ///   1. Pass through if character is valid.
 ///   2. Ignore everything else.
 ///   The termination state is handled outside when an ESC is seen.
 /// </summary>
 /// <param name="ch"></param>
 private void EventDCSPassThrough(byte ch)
 {
     if (ASCIIChars.IsC0Code(ch) || ASCIIChars.IsDCSPassThroughValid(ch))
     {
         if (!this.dcsStringHandler(ch))
         {
             this.EnterDCSIgnore();
         }
     }
     else
     {
         this.ActionIgnore(ch);
     }
 }