aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server/termcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'termcast_server/termcast.py')
-rw-r--r--termcast_server/termcast.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/termcast_server/termcast.py b/termcast_server/termcast.py
index b9abb37..8b6935d 100644
--- a/termcast_server/termcast.py
+++ b/termcast_server/termcast.py
@@ -114,6 +114,12 @@ class Handler(object):
if cur_cell[key] != prev_cell[key]:
cell_changes[key] = cur_cell[key]
+ if "bold" in cell_changes:
+ cell_changes["fgcolor"] = cur_cell["fgcolor"]
+
+ if "fgcolor" in cell_changes:
+ cell_changes["bold"] = cur_cell["bold"]
+
return cell_changes
def total_time(self):