Make the delete key insert the delete character
This commit is contained in:
parent
2b92cf26a5
commit
f2986d50bd
|
@ -139,8 +139,9 @@ begin
|
|||
//Non-ASCII
|
||||
if keypressed then begin
|
||||
Scan := ReadKey;
|
||||
ASCII := false;
|
||||
{$ifdef tape}
|
||||
//Insert a tape in the tape reader
|
||||
//The insert key sets a tape to be read
|
||||
if Scan = ansichar ($52) then begin
|
||||
writeln ();
|
||||
write ('Tape to be read: ');
|
||||
|
@ -149,7 +150,11 @@ begin
|
|||
TapeInPos := 0
|
||||
end;
|
||||
{$endif}
|
||||
ASCII := false;
|
||||
//The delete key inserts the delete character
|
||||
if Scan = ansichar ($53) then begin
|
||||
Ch := ansichar ($7f);
|
||||
ASCII := true;
|
||||
end;
|
||||
end
|
||||
//Null
|
||||
else ASCII := true;
|
||||
|
|
Loading…
Reference in New Issue