Skip to content
Snippets Groups Projects
Commit bc99ce45 authored by rswindell's avatar rswindell
Browse files

Added bright_background(enable) method, to easily enable/disable

bright-background (iCE color) support in SyncTERM/CTerm ANSI terminals.
parent 0f4479f9
Branches
Tags
No related merge requests found
...@@ -644,5 +644,12 @@ function xbin_cleanup(image) ...@@ -644,5 +644,12 @@ function xbin_cleanup(image)
} }
} }
function bright_background(enable)
{
var op = enable === false ? "clear" : "set";
ansiterm.send("ext_mode", op, "bg_bright_intensity");
ansiterm.send("ext_mode", op, "no_blink");
}
// Leave as last line: // Leave as last line:
this; this;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment