Changeset 49a8127e04097067b5577155ad650a58b898387d

User picture

Commiter: Charles Childers

Author: Charles Childers

Parent: 027794763a

(2010/03/11 04:16) Almost 2 years ago

fix backspace in c# vm implementation

Affected files

Updated vm/dotnet/retro.cs Download diff

027794763a55e8466e4e8003f28e383073d28a4149a8127e04097067b5577155ad650a58b898387d
164
        if (cki.Key == ConsoleKey.Backspace)
164
        if (cki.Key == ConsoleKey.Backspace)
165
        {
165
        {
166
          a = 8;
166
          a = 8;
167
          Console.Write(a);
167
          Console.Write((char)32);
168
        }
168
        }
169
        if ( a >= 32)
169
        if ( a >= 32)
170
          Console.Write((char)8);
170
          Console.Write((char)8);