Skip to content

Commit

Permalink
added Reset() function to VT100 module.
Browse files Browse the repository at this point in the history
  • Loading branch information
norayr committed May 25, 2022
1 parent 590398b commit 9e3995d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/runtime/VT100.Mod
Expand Up @@ -168,8 +168,15 @@ CONST

END EscSeq2;



PROCEDURE Reset*;
VAR
cmd : ARRAY 6 OF CHAR;
BEGIN
COPY(Escape, cmd);
Strings.Append("c", cmd);
Out.String(cmd);
Out.Ln;
END Reset;
(* Cursor up
moves cursor n cells in the given direction. if the cursor is already at the edge of the screen, this has no effect *)

Expand Down

0 comments on commit 9e3995d

Please sign in to comment.