v class="line">     case 0x7F:       // DEL -&gt; backspace + ESC[K</div><div class="line">       Terminal.write(&quot;\b\e[K&quot;);</div><div class="line">       break;</div><div class="line">     case 0x0D:       // CR  -&gt; CR + LF</div><div class="line">       Terminal.write(&quot;\r\n&quot;);</div><div class="line">       break;</div><div class="line">    default:</div><div class="line">       Terminal.write(c);</div><div class="line">       break;</div><div class="line">    }</div><div class="line">