Skip to content

Commit 9e3995d

Browse files
committed
added Reset() function to VT100 module.
1 parent 590398b commit 9e3995d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/runtime/VT100.Mod

+9-2
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,15 @@ CONST
168168

169169
END EscSeq2;
170170

171-
172-
171+
PROCEDURE Reset*;
172+
VAR
173+
cmd : ARRAY 6 OF CHAR;
174+
BEGIN
175+
COPY(Escape, cmd);
176+
Strings.Append("c", cmd);
177+
Out.String(cmd);
178+
Out.Ln;
179+
END Reset;
173180
(* Cursor up
174181
moves cursor n cells in the given direction. if the cursor is already at the edge of the screen, this has no effect *)
175182

0 commit comments

Comments
 (0)