aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--termcast_server/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/termcast_server/index.html b/termcast_server/index.html
index 7e37c06..c79d5fe 100644
--- a/termcast_server/index.html
+++ b/termcast_server/index.html
@@ -13,6 +13,7 @@
.term table {
border-collapse: collapse;
+ background-color: black;
}
.term td {
@@ -70,7 +71,7 @@ socket.onmessage = function (e) {
term += '"';
}
term += '>';
- if (cell.contents == " ") {
+ if (cell.contents == " " || cell.contents == "") {
term += " ";
}
else {
@@ -98,7 +99,7 @@ socket.onmessage = function (e) {
td.style.setProperty('color', colors[update.cell.fgcolor]);
}
else {
- td.style.removeProperty('color');
+ td.style.setProperty('color', "#FFFFFF");
}
if (update.cell.bgcolor) {
td.style.setProperty('background-color', colors[update.cell.bgcolor]);