Skip to content
Snippets Groups Projects
Commit 6c1b5319 authored by deuce's avatar deuce
Browse files

Don't enforce side-effects in the separate drivers, do them in the dorkit

file.
parent f73ba759
No related branches found
No related tags found
No related merge requests found
/*
* Clears the current screen to black and moves to location 1,1
* sets the current attribute to 7
*/
dk.console.remote_io = {
clear:function() {
this.attr.value=7;
this.print("\x0c");
},
......
......@@ -4,12 +4,11 @@ console.ctrlkey_passthru=0x7fffffff; // Disable all parsing.
/*
* Clears the current screen to black and moves to location 1,1
* sets the current attribute to 7
*/
dk.console.remote_io = {
clear:function() {
console.clear(7);
console.clear();
},
/*
......
/*
* Clears the current screen to black and moves to location 1,1
* sets the current attribute to 7
*/
dk.console.remote_io = {
sock:new Socket(true, dk.connection.socket),
clear:function() {
dk.console.attr.value=7;
this.print("\x0c");
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment