Skip to content
Snippets Groups Projects
Commit 47cc6eca authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add a state.reset() method - not sure how widely supported this seqwuence is

e.g. ANSI.SYS doesn't appear to support it
parent 22a57fba
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
...@@ -204,6 +204,10 @@ var attributes = { ...@@ -204,6 +204,10 @@ var attributes = {
set: function(a) { return set_attributes(a); } set: function(a) { return set_attributes(a); }
} }
var state = {
reset: function() { return "\x1bc"; }
}
var color = true; var color = true;
function set_attributes(a) function set_attributes(a)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment