From bc99ce4578ed9fa939f57880013337850320a85f Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 9 May 2019 21:25:05 +0000
Subject: [PATCH] Added bright_background(enable) method, to easily
 enable/disable bright-background (iCE color) support in SyncTERM/CTerm ANSI
 terminals.

---
 exec/load/cterm_lib.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/exec/load/cterm_lib.js b/exec/load/cterm_lib.js
index 07197465bd..7445c471d5 100644
--- a/exec/load/cterm_lib.js
+++ b/exec/load/cterm_lib.js
@@ -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:
 this;
-- 
GitLab